remove newPod.Status = oldPod.Status in validation.go

This commit is contained in:
mqliang 2015-12-11 10:59:04 +08:00
parent 815fcc3334
commit 0debeff598

View File

@ -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
}