-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stateengine: make DryStart() required
* Add StateEngine.dryStarted check on Ensure() in order to make DryStart() call actually required. * Call DryStart() on overlord and state engine tests * Remove noopStateBackend: not required since --dry run is cut after the DryStart() call, so no state is ever persisted. Furthermore, this allows for potential dry-run of state patches. * Remove Overlord.addManager(), since StateEngine.AddManager() already exists for this purpose, and Overlord.AddManager() as well. * Don't plan.ReadDir() on ServiceManager.DryStart(), acquire plan instead so that we actually initialize the manager instead.
- Loading branch information
Showing
6 changed files
with
40 additions
and
42 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
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
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
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
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
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