forked from coreos/fleet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fleetctl: make load & start run only for necessary units
fleetctl load and start have been working for all given units, no matter whether each unit's target state is more activated than the current state or not. That means, for example, fleetctl load on activated units results in stopping the units, which could be unexpected for users. To fix that, check that each unit really needs to be waited, by running unitToBeChanged(). Fixes coreos#1428
- Loading branch information
Dongsu Park
committed
Jul 28, 2016
1 parent
32a9033
commit 235dbce
Showing
1 changed file
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters