Skip to content

Commit 07d49ef

Browse files
Matthew Fishermboersma
authored andcommitted
fix(controller): watch fifth column for state
fleetctl v0.3.4 introduced a fifth column, so we need to update the location of the state column.
1 parent 82a0339 commit 07d49ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/scheduler/coreos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _wait_for_announcer(self, name, env):
112112
status = None
113113
for _ in range(60):
114114
status = subprocess.check_output(
115-
"fleetctl.sh list-units | grep {name}-announce.service | awk '{{print $4}}'".format(**locals()),
115+
"fleetctl.sh list-units | grep {name}-announce.service | awk '{{print $5}}'".format(**locals()),
116116
shell=True, env=env).strip('\n')
117117
if status == 'running':
118118
break

0 commit comments

Comments
 (0)