Skip to content

Commit

Permalink
fix: provide parameterized type for the generic (#2870) (#2889)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay11agrawal authored Apr 17, 2024
1 parent 8a70d71 commit 6ca26cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ protected static AuthConfig getAuthConfigFromOpenShiftConfig(LookupMode lookupMo
}

// Check plugin config
Map mapToCheck = getAuthConfigMapToCheck(lookupMode,authConfigMap);
Map<String, String> mapToCheck = getAuthConfigMapToCheck(lookupMode,authConfigMap);
if (mapToCheck != null && mapToCheck.containsKey(AUTH_USE_OPENSHIFT_AUTH) &&
Boolean.parseBoolean((String) mapToCheck.get(AUTH_USE_OPENSHIFT_AUTH))) {
Boolean.parseBoolean(mapToCheck.get(AUTH_USE_OPENSHIFT_AUTH))) {
return validateMandatoryOpenShiftLogin(readKubeConfigAuth(), useOpenAuthModeKey);
} else {
return null;
Expand Down

0 comments on commit 6ca26cd

Please sign in to comment.