Skip to content
Snippets Groups Projects
Unverified Commit 668cc71e authored by Zexi Li's avatar Zexi Li Committed by GitHub
Browse files

Merge pull request #14347 from swordqiu/automated-cherry-pick-of-#14345-upstream-release-3.8

Automated cherry pick of #14345: fix: recover host status if maintain an empty host
parents fce049d2 f4fc88fc
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,8 @@ func (self *HostMaintainTask) OnInit(ctx context.Context, obj db.IStandaloneMode
if len(guests) == 0 {
// no guest to migrate
self.SetStageComplete(ctx, nil)
// self.SetStageComplete(ctx, nil)
self.OnGuestsMigrate(ctx, host, nil)
return
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment