-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(common): missed using CARootsFilePathOption
#12997
fix(common): missed using CARootsFilePathOption
#12997
Conversation
A number of credentials failed to use the `CARootsFilePathOption` as they should. Use the storage integration test because it covers both gRPC and REST.
483fd8d
to
7c9646e
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #12997 +/- ##
==========================================
- Coverage 93.59% 93.59% -0.01%
==========================================
Files 2068 2068
Lines 180931 180934 +3
==========================================
- Hits 169350 169347 -3
- Misses 11581 11587 +6
☔ View full report in Codecov by Sentry. |
google/cloud/credentials.h
Outdated
* You should set this option both in the credentials and the client options. | ||
* For example: | ||
* @code | ||
* using gc = ::google::cloud; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/using/namespace/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
google/cloud/credentials.h
Outdated
* does not use the default root of trust. Though it might be possible to | ||
* set the `GRPC_DEFAULT_SSL_ROOTS_FILE_PATH` environment variable instead. | ||
* | ||
* You should set this option both in the credentials and the client options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/and the client options/and in the connection options/
They would not apply if passed to the client only, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
A number of credentials failed to use the
CARootsFilePathOption
as they should.Use the storage integration test because it covers both gRPC and REST.
This change is