Skip to content

Commit

Permalink
Reenabling CRD Schema Validator
Browse files Browse the repository at this point in the history
Signed-off-by: Mauricio Harley <[email protected]>
  • Loading branch information
Mauricio Harley committed Dec 6, 2024
1 parent aa24b47 commit 9a7610a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/barbican_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func GeneratePKCS11TemplateMap(

// Checking if a supported HSM type has been provided.
if !slices.Contains(barbicanv1beta1.HSMTypes, strings.ToLower(pkcs11.Type)) {
return nil, errors.New("no valid HSM type provided!map[string]interface{}")
return nil, errors.New("No valid HSM type provided!")
}

tempMap["P11Enabled"] = true
Expand Down

0 comments on commit 9a7610a

Please sign in to comment.