commit | 3c42425cd1c3a1ca37f6079ca85e6dd0fa7e2f80 | [log] [tgz] |
---|---|---|
author | yang-g <yangg@google.com> | Mon Dec 11 15:08:51 2017 -0800 |
committer | yang-g <yangg@google.com> | Mon Dec 11 15:08:51 2017 -0800 |
tree | 4607896ab0f2f1a87871cfd97022c600854dd856 | |
parent | 7fd341746b3fc144a18e8b8491be5264d01eb7f8 [diff] |
Use the correct env var name
diff --git a/src/core/lib/security/credentials/google_default/credentials_generic.cc b/src/core/lib/security/credentials/google_default/credentials_generic.cc index 58ee080..af103f5 100644 --- a/src/core/lib/security/credentials/google_default/credentials_generic.cc +++ b/src/core/lib/security/credentials/google_default/credentials_generic.cc
@@ -29,7 +29,7 @@ char* result = nullptr; char* base = gpr_getenv(GRPC_GOOGLE_CREDENTIALS_PATH_ENV_VAR); if (base == nullptr) { - gpr_log(GPR_ERROR, "Could not get " GRPC_GOOGLE_CREDENTIALS_ENV_VAR + gpr_log(GPR_ERROR, "Could not get " GRPC_GOOGLE_CREDENTIALS_PATH_ENV_VAR " environment variable."); return nullptr; }