Merge pull request #10074 from nikhiljindal/retryUpdate

Allow update without resource version
This commit is contained in:
Maxwell Forbes
2015-06-24 10:55:41 -07:00
20 changed files with 135 additions and 36 deletions

View File

@@ -82,6 +82,10 @@ func (nodeStrategy) ValidateUpdate(ctx api.Context, obj, old runtime.Object) fie
return append(errorList, validation.ValidateNodeUpdate(old.(*api.Node), obj.(*api.Node))...)
}
func (nodeStrategy) AllowUnconditionalUpdate() bool {
return true
}
type nodeStatusStrategy struct {
nodeStrategy
}