File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,6 @@ absl::optional<std::string> GetEmulator() {
5050 return GetEnv (" CLOUD_STORAGE_TESTBENCH_ENDPOINT" );
5151}
5252
53- StatusOr<std::shared_ptr<oauth2::Credentials>> StorageDefaultCredentials (
54- Options const & options) {
55- auto emulator = GetEmulator ();
56- if (emulator.has_value ()) {
57- return StatusOr<std::shared_ptr<oauth2::Credentials>>(
58- oauth2::CreateAnonymousCredentials ());
59- }
60- return oauth2::GoogleDefaultCredentials (options);
61- }
62-
6353std::size_t DefaultConnectionPoolSize () {
6454 std::size_t nthreads = std::thread::hardware_concurrency ();
6555 if (nthreads == 0 ) {
Original file line number Diff line number Diff line change 2121#include " google/cloud/internal/rest_options.h"
2222#include " google/cloud/internal/rest_response.h"
2323#include " google/cloud/opentelemetry_options.h"
24- #include " google/cloud/options.h"
2524#include " google/cloud/testing_util/scoped_environment.h"
2625#include " google/cloud/testing_util/setenv.h"
2726#include " google/cloud/testing_util/status_matchers.h"
You can’t perform that action at this time.
0 commit comments