mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-30 17:13:08 +08:00
Merge pull request #1009 from wanyaoqi/bugfix/wyq/fix-guest-migrate-on-faile
fix on guest migrate fail
This commit is contained in:
@@ -370,7 +370,7 @@ func (self *GuestLiveMigrateTask) OnLiveMigrateComplete(ctx context.Context, gue
|
||||
_, _, err := httputils.JSONRequest(httputils.GetDefaultClient(),
|
||||
ctx, "POST", url, headers, body, false)
|
||||
if err != nil {
|
||||
self.TaskFailed(ctx, guest, err.Error())
|
||||
self.OnResumeDestGuestCompleteFailed(ctx, guest, jsonutils.NewString(err.Error()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user