Hello Attila Bukor, Kudu Jenkins,

I'd like you to do a code review. Please visit

    http://gerrit.cloudera.org:8080/20093

to review the following change.


Change subject: [util] KUDU-3392: add validator for --trusted_certificate_file
......................................................................

[util] KUDU-3392: add validator for --trusted_certificate_file

While testing/troubleshooting the newly introduced JWT-based client
authentication, I found that setting the flag to a non-existing file
hadn't been handled as I expected.

This patch addresses the issue, adding a validator for the flag.

I didn't add any test to cover the newly added validator, but I have
verified that it worked as expected in various scenarios w.r.t. the
current value of the --trusted_certificate_file flag.

This is a follow-up to 152211658ef9d33e0ad727ccba46f8af24cd45b0.

Change-Id: I0d9d816a821a93037293d3985a2f577711d64ef2
Reviewed-on: http://gerrit.cloudera.org:8080/20075
Tested-by: Kudu Jenkins
Reviewed-by: Attila Bukor <[email protected]>
(cherry picked from commit 4734d6f167333e67483d45bbeaf7509180641414)
---
M src/kudu/util/curl_util.cc
1 file changed, 44 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/93/20093/1
--
To view, visit http://gerrit.cloudera.org:8080/20093
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: branch-1.17.x
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d9d816a821a93037293d3985a2f577711d64ef2
Gerrit-Change-Number: 20093
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to