-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incusd/instances: Don't start instances when evacuated
I noticed a few cases where an offline network or storage coming back online on an evacuated host would cause instances coming back online. As all code paths to instancesStart come from locations attempting auto-start on daemon startup, lets just move the evacuation check to the function itself. Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 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