Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

fleetctl: wait for DesiredState instead of CurrentState for global units - #1333

Merged
mischief merged 1 commit into
coreos:masterfrom
mischief:global
Aug 20, 2015
Merged

fleetctl: wait for DesiredState instead of CurrentState for global units#1333
mischief merged 1 commit into
coreos:masterfrom
mischief:global

Conversation

@mischief

Copy link
Copy Markdown
Contributor

recently fleetctl started waiting for unit creation before proceeding by
checking for CurrentState == "inactive". this change caused fleetctl to
hang waiting for global units, because global units never have a
CurrentState, only a DesiredState.

fixes #1331

recently fleetctl started waiting for unit creation before proceeding by
checking for CurrentState == "inactive". this change caused fleetctl to
hang waiting for global units, because global units never have a
CurrentState, only a DesiredState.
@jonboulle

Copy link
Copy Markdown
Contributor

LGTM

mischief added a commit that referenced this pull request Aug 20, 2015
fleetctl: wait for DesiredState instead of CurrentState for global units
@mischief
mischief merged commit b9eca79 into coreos:master Aug 20, 2015
@mischief
mischief deleted the global branch August 20, 2015 16:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

systemd unit with fleet commands fails after CoreOS update

2 participants