From 4d23a5c7b240c474e02ea6e60d74941439589815 Mon Sep 17 00:00:00 2001 From: Alex Crome Date: Fri, 28 Oct 2022 08:51:52 +0100 Subject: [PATCH] Fix casing of EntityNamePicker validation error message The error message for `EntityNamePicker` has two sentences. The first word of the second sentence is capitalised, but the first sentence was not. This fixes the capitalisation of the first sentence. Signed-off-by: Alex Crome --- .../src/components/fields/EntityNamePicker/validation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scaffolder/src/components/fields/EntityNamePicker/validation.ts b/plugins/scaffolder/src/components/fields/EntityNamePicker/validation.ts index 7a40a460ba..d116bef228 100644 --- a/plugins/scaffolder/src/components/fields/EntityNamePicker/validation.ts +++ b/plugins/scaffolder/src/components/fields/EntityNamePicker/validation.ts @@ -23,7 +23,7 @@ export const entityNamePickerValidation = ( ) => { if (!KubernetesValidatorFunctions.isValidObjectName(value)) { validation.addError( - 'must start and end with an alphanumeric character, and contain only alphanumeric characters, hyphens, underscores, and periods. Maximum length is 63 characters.', + 'Must start and end with an alphanumeric character, and contain only alphanumeric characters, hyphens, underscores, and periods. Maximum length is 63 characters.', ); } };