FANNG1 commented on code in PR #6021:
URL: https://github.com/apache/gravitino/pull/6021#discussion_r1899255949
##########
core/src/main/java/org/apache/gravitino/credential/config/CredentialConfig.java:
##########
@@ -67,12 +69,13 @@ public class CredentialConfig extends Config {
false /* reserved */))
.build();
- public static final ConfigEntry<String> CREDENTIAL_PROVIDERS =
+ public static final ConfigEntry<List<String>> CREDENTIAL_PROVIDERS =
new ConfigBuilder(CredentialConstants.CREDENTIAL_PROVIDERS)
.doc("Credential providers, separated by comma.")
.version(ConfigConstants.VERSION_0_8_0)
.stringConf()
- .create();
+ .toSequence()
+ .createWithDefault(Collections.emptyList());
Review Comment:
The config entry defined here is not used to get providers, updated the
code, please review again
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]