PersistentVolume & PersistentVolumeClaim API types

This commit is contained in:
markturansky
2015-03-23 14:18:11 -04:00
parent 455fe8235b
commit f762b303ad
13 changed files with 667 additions and 13 deletions

View File

@@ -68,7 +68,7 @@ func BeforeCreate(strategy RESTCreateStrategy, ctx api.Context, obj runtime.Obje
return nil
}
// CheckGeneratedNameError checks whether an error that occured creating a resource is due
// CheckGeneratedNameError checks whether an error that occurred creating a resource is due
// to generation being unable to pick a valid name.
func CheckGeneratedNameError(strategy RESTCreateStrategy, err error, obj runtime.Object) error {
if !errors.IsAlreadyExists(err) {