mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): guest without cpunumapin don't set params on save schedule result (#21233)
This commit is contained in:
@@ -130,8 +130,6 @@ func (task *GuestMigrateTask) SaveScheduleResult(ctx context.Context, obj ISched
|
||||
body.Set("target_host_id", jsonutils.NewString(targetHostId))
|
||||
if len(target.CpuNumaPin) > 0 {
|
||||
body.Set("target_cpu_numa_pin", jsonutils.Marshal(target.CpuNumaPin))
|
||||
} else {
|
||||
body.Set("target_cpu_numa_pin", jsonutils.JSONNull)
|
||||
}
|
||||
|
||||
// for params notes
|
||||
|
||||
Reference in New Issue
Block a user