Revert "Periodically update pod status from kubelet."

This commit is contained in:
Filip Grzadkowski
2015-03-17 13:51:45 +01:00
parent c04ceec27f
commit 18b728ff44
11 changed files with 37 additions and 115 deletions

View File

@@ -691,7 +691,6 @@ func ValidatePodStatusUpdate(newPod, oldPod *api.Pod) errs.ValidationErrorList {
allErrs = append(allErrs, errs.NewFieldInvalid("status.host", newPod.Status.Host, "pod host cannot be changed directly"))
}
// For status update we ignore changes to pod spec.
newPod.Spec = oldPod.Spec
return allErrs