Commit 006a51b3 authored by Andrea Spadaccini's avatar Andrea Spadaccini Committed by Guido Trotter
Browse files

Fix wrong method name in cluster-merge



Fixed a wrong method name in the last patch.
Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent b3f287c8
......@@ -259,7 +259,7 @@ class Merger(object):
"""
for cluster in self.clusters:
result = self._RunCmd(cluster, "gnt-instance list -o status")
if self.RUNNING_STATUSES.intersect(result.output.splitlines()):
if self.RUNNING_STATUSES.intersection(result.output.splitlines()):
return True
return False
......
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