Commit 8c7a6aef authored by Charlie Jacomme's avatar Charlie Jacomme

fix service name

parent 9b0fbc19
......@@ -69,7 +69,7 @@ for arg in sys.argv:
for service in api_client.list("services/regen/"):
if service['hostname'] == client_hostname and \
service['service_name'] == 'dns' and \
service['service_name'] == 'home' and \
service['need_regen']:
error = reconfigure(api_client)
api_client.patch(service['api_url'], data={'need_regen': error}) # Regen is there is an error
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment