Skip to content

Commit

Permalink
fix(region): skip cloudpods vm kernel check (#21794)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioito authored Dec 12, 2024
1 parent c1610ce commit a4c19d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/mcclient/cloudpods/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,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
}
Expand Down

0 comments on commit a4c19d7

Please sign in to comment.