mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): skip cloudpods vm kernel check (#21796)
This commit is contained in:
@@ -362,8 +362,9 @@ func (self *SInstance) LiveMigrateVM(hostId string) error {
|
||||
input := api.GuestLiveMigrateInput{}
|
||||
input.PreferHost = hostId
|
||||
input.PreferHostId = hostId
|
||||
skipCpuCheck := true
|
||||
input.SkipCpuCheck = &skipCpuCheck
|
||||
skipCheck := true
|
||||
input.SkipCpuCheck = &skipCheck
|
||||
input.SkipKernelCheck = &skipCheck
|
||||
_, err := self.host.zone.region.perform(&modules.Servers, self.Id, "live-migrate", input)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user