Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Correct capitalization of SHA-1 fingerprint field (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
mturley committed Apr 8, 2021
1 parent c33de25 commit e089e6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const AddEditProviderModal: React.FunctionComponent<IAddEditProviderModalProps>
/>
<ValidatedTextInput
field={vmwareForm.fields.fingerprint}
label="SHA-1 Fingerprint"
label="SHA-1 fingerprint"
isRequired
fieldId="vmware-fingerprint"
formGroupProps={{
Expand All @@ -242,7 +242,7 @@ const AddEditProviderModal: React.FunctionComponent<IAddEditProviderModalProps>
>
<Button
variant="plain"
aria-label="More info for SHA-1 Fingerprint field"
aria-label="More info for SHA-1 fingerprint field"
onClick={(e) => e.preventDefault()}
aria-describedby="vmware-fingerprint"
className="pf-c-form__group-label-help"
Expand Down
2 changes: 1 addition & 1 deletion src/app/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const vmwareHostnameSchema = yup

export const vmwareFingerprintSchema = yup
.string()
.label('SHA-1 Fingerprint')
.label('SHA-1 fingerprint')
.matches(/^[a-fA-F0-9]{2}((:[a-fA-F0-9]{2}){19}|(:[a-fA-F0-9]{2}){15})$/, {
message:
'Fingerprint must consist of 16 or 20 pairs of hexadecimal characters separated by colons, e.g. XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX',
Expand Down

0 comments on commit e089e6a

Please sign in to comment.