add IsMissingVersionError

Kubernetes-commit: db0562bdbd4ffe17459025fdc10c7bf318dfbc01
This commit is contained in:
jennybuckley 2019-03-04 17:29:11 -08:00 committed by Kubernetes Publisher
parent fc8e4ec23e
commit a1c15ac10a
1 changed files with 5 additions and 0 deletions

View File

@ -81,3 +81,8 @@ func (v *versionConverter) Convert(object typed.TypedValue, version fieldpath.AP
// Convert the object back to a smd typed value and return it.
return v.typeConverter.ObjectToTyped(convertedObject)
}
// IsMissingVersionError
func (v *versionConverter) IsMissingVersionError(err error) bool {
return runtime.IsNotRegisteredError(err)
}