1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Merge pull request #6897 from ansible/AlanCoding-patch-2

fix flake8 error from removal of word Tower
This commit is contained in:
Alan Rominger 2017-07-06 10:48:50 -04:00 committed by GitHub
commit 9a4701fe30

View File

@ -191,9 +191,9 @@ def cluster_node_heartbeat(self):
continue
if Version(other_inst.version.split('-', 1)[0]) > Version(tower_application_version) and not settings.DEBUG:
logger.error("Host {} reports version {}, but this node {} is at {}, shutting down".format(other_inst.hostname,
other_inst.version,
inst.hostname,
inst.version))
other_inst.version,
inst.hostname,
inst.version))
stop_local_services(['uwsgi', 'celery', 'beat', 'callback', 'fact'])