File tree Expand file tree Collapse file tree
google/cloud/storage/internal/grpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ Options DefaultOptionsGrpc(
7272 storage::internal::DefaultOptionsWithCredentials (std::move (options));
7373 if (!options.has <UnifiedCredentialsOption>() &&
7474 !options.has <GrpcCredentialOption>()) {
75+ std::cout << __func__
76+ << " : !options.has<UnifiedCredentialsOption>() && "
77+ " !options.has<GrpcCredentialOption>()"
78+ << std::endl;
7579 options.set <UnifiedCredentialsOption>(
7680 google::cloud::MakeGoogleDefaultCredentials (
7781 google::cloud::internal::MakeAuthOptions (options)));
@@ -84,6 +88,8 @@ Options DefaultOptionsGrpc(
8488 // The emulator does not support HTTPS or authentication, use insecure
8589 // (sometimes called "anonymous") credentials, which disable SSL.
8690 options.set <UnifiedCredentialsOption>(MakeInsecureCredentials ());
91+ std::cout << __func__ << " : testbench detected forcing InsecureCredentials"
92+ << std::endl;
8793 }
8894
8995 // gRPC <= 1.64 may crash when metrics are enabled, so we don't enable them by
You can’t perform that action at this time.
0 commit comments