mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 19:58:17 +00:00
Rename TryAgainLater status code to ServerTimeout
This commit is contained in:
@@ -83,7 +83,7 @@ func CheckGeneratedNameError(strategy RESTCreateStrategy, err error, obj runtime
|
||||
return err
|
||||
}
|
||||
|
||||
return errors.NewTryAgainLater(kind, "POST")
|
||||
return errors.NewServerTimeout(kind, "POST")
|
||||
}
|
||||
|
||||
// objectMetaAndKind retrieves kind and ObjectMeta from a runtime object, or returns an error.
|
||||
|
||||
Reference in New Issue
Block a user