Rename TryAgainLater status code to ServerTimeout

This commit is contained in:
Clayton Coleman
2015-02-12 12:24:34 -05:00
parent 3bc8f4e793
commit c24f4a24b4
10 changed files with 31 additions and 31 deletions

View File

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