Flaugh24 commented on code in PR #1821:
URL: https://github.com/apache/ignite-3/pull/1821#discussion_r1149697795
##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/call/cluster/ClusterInitCallInput.java:
##########
@@ -98,6 +113,13 @@ public static class ClusterInitCallInputBuilder {
private String clusterName;
+ private AuthenticationConfig authenticationSettings;
+
+ public ClusterInitCallInputBuilder
authenticationSettings(AuthenticationConfig authenticationConfig) {
+ this.authenticationSettings = authenticationConfig;
+ return this;
+ }
+
Review Comment:
done
##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/core/exception/handler/IgniteCliApiExceptionHandler.java:
##########
@@ -69,7 +69,15 @@ public int handle(ExceptionWriter err, IgniteCliApiException
e) {
} else if (apiCause != null) {
errorComponentBuilder.header(apiCause.getMessage());
} else {
- tryToExtractProblem(errorComponentBuilder, cause);
+ if (e.getMessage().contains("Unauthorized")) {
Review Comment:
done
--
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]