Skip to content

Commit

Permalink
Use ROOT locale for safe case operations
Browse files Browse the repository at this point in the history
Co-authored-by: James Nord <[email protected]>
  • Loading branch information
fowlie and jtnord authored Jan 21, 2021
1 parent 9d326af commit 7b9b967
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static CredentialsScope getCredentialScope(Secret s) {
return CredentialsScope.valueOf(Optional
.ofNullable(s.getMetadata().getLabels().get(JENKINS_IO_CREDENTIALS_SCOPE_LABEL))
.orElse("global")
.toUpperCase());
.toUpperCase(Local.ROOT));
}

/**
Expand Down

0 comments on commit 7b9b967

Please sign in to comment.