diff --git a/pkg/endpoints/handlers/create.go b/pkg/endpoints/handlers/create.go index fa0d4a241..286e4aad5 100644 --- a/pkg/endpoints/handlers/create.go +++ b/pkg/endpoints/handlers/create.go @@ -50,7 +50,7 @@ func createHandler(r rest.NamedCreater, scope *RequestScope, admit admission.Int defer trace.LogIfLong(500 * time.Millisecond) if isDryRun(req.URL) && !utilfeature.DefaultFeatureGate.Enabled(features.DryRun) { - scope.err(errors.NewBadRequest("the dryRun alpha feature is disabled"), w, req) + scope.err(errors.NewBadRequest("the dryRun feature is disabled"), w, req) return } diff --git a/pkg/endpoints/handlers/delete.go b/pkg/endpoints/handlers/delete.go index b1b0ad95b..1fa5550ba 100644 --- a/pkg/endpoints/handlers/delete.go +++ b/pkg/endpoints/handlers/delete.go @@ -49,7 +49,7 @@ func DeleteResource(r rest.GracefulDeleter, allowsOptions bool, scope *RequestSc defer trace.LogIfLong(500 * time.Millisecond) if isDryRun(req.URL) && !utilfeature.DefaultFeatureGate.Enabled(features.DryRun) { - scope.err(errors.NewBadRequest("the dryRun alpha feature is disabled"), w, req) + scope.err(errors.NewBadRequest("the dryRun feature is disabled"), w, req) return } @@ -167,7 +167,7 @@ func DeleteCollection(r rest.CollectionDeleter, checkBody bool, scope *RequestSc defer trace.LogIfLong(500 * time.Millisecond) if isDryRun(req.URL) && !utilfeature.DefaultFeatureGate.Enabled(features.DryRun) { - scope.err(errors.NewBadRequest("the dryRun alpha feature is disabled"), w, req) + scope.err(errors.NewBadRequest("the dryRun feature is disabled"), w, req) return } diff --git a/pkg/endpoints/handlers/patch.go b/pkg/endpoints/handlers/patch.go index 4893578f1..dadd2af8f 100644 --- a/pkg/endpoints/handlers/patch.go +++ b/pkg/endpoints/handlers/patch.go @@ -63,7 +63,7 @@ func PatchResource(r rest.Patcher, scope *RequestScope, admit admission.Interfac defer trace.LogIfLong(500 * time.Millisecond) if isDryRun(req.URL) && !utilfeature.DefaultFeatureGate.Enabled(features.DryRun) { - scope.err(errors.NewBadRequest("the dryRun alpha feature is disabled"), w, req) + scope.err(errors.NewBadRequest("the dryRun feature is disabled"), w, req) return } diff --git a/pkg/endpoints/handlers/update.go b/pkg/endpoints/handlers/update.go index 686df45b7..1e75fdb06 100644 --- a/pkg/endpoints/handlers/update.go +++ b/pkg/endpoints/handlers/update.go @@ -49,7 +49,7 @@ func UpdateResource(r rest.Updater, scope *RequestScope, admit admission.Interfa defer trace.LogIfLong(500 * time.Millisecond) if isDryRun(req.URL) && !utilfeature.DefaultFeatureGate.Enabled(features.DryRun) { - scope.err(errors.NewBadRequest("the dryRun alpha feature is disabled"), w, req) + scope.err(errors.NewBadRequest("the dryRun feature is disabled"), w, req) return }