diff --git a/pkg/forklift-api/webhooks/validating-webhook/admitters/secret-admitter.go b/pkg/forklift-api/webhooks/validating-webhook/admitters/secret-admitter.go index d65751154..2c44d15d8 100644 --- a/pkg/forklift-api/webhooks/validating-webhook/admitters/secret-admitter.go +++ b/pkg/forklift-api/webhooks/validating-webhook/admitters/secret-admitter.go @@ -126,7 +126,7 @@ func (admitter *SecretAdmitter) validateProviderSecret() *admissionv1.AdmissionR func (admitter *SecretAdmitter) validateHostSecret() *admissionv1.AdmissionResponse { if hostName, ok := admitter.secret.GetLabels()["createdForResource"]; ok { if _, ok := admitter.secret.Data["user"]; !ok { - err := errors.New("Missing credentials on Host secret") + err := errors.New("missing credentials on Host secret") return webhookutils.ToAdmissionResponseError(err) } tested, err := admitter.testConnectionToHost(hostName)