mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 14:53:44 +00:00
remove newPod.Status = oldPod.Status in validation.go
This commit is contained in:
parent
815fcc3334
commit
0debeff598
@ -1207,7 +1207,6 @@ func ValidatePodUpdate(newPod, oldPod *api.Pod) validation.ErrorList {
|
||||
allErrs = append(allErrs, validation.NewInvalidError(specPath, "contents not printed here, please refer to the \"details\"", "may not update fields other than container.image"))
|
||||
}
|
||||
|
||||
newPod.Status = oldPod.Status
|
||||
return allErrs
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user