[fix] Get pending conf for all services if no one is provided

This commit is contained in:
Jérôme Lebleu 2016-04-21 21:57:35 +02:00
parent cdf3c13bf5
commit 7d2e7cb5e2

View file

@ -604,7 +604,7 @@ def _get_pending_conf(services=[]):
if not os.path.isdir(pending_conf_dir):
return result
if not services:
os.listdir(pending_conf_dir)
services = os.listdir(pending_conf_dir)
for name in services:
service_conf = {}
service_pending_path = os.path.join(pending_conf_dir, name)