aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Yihua Zhang <yihuaz@google.com>2018-12-06 10:09:54 -0800
committerGravatar Yihua Zhang <yihuaz@google.com>2018-12-06 10:09:54 -0800
commitc449da58339d4618ca1af447607033fab81de101 (patch)
tree168a9a398c13910ef0656e18c28d7714d831240b /src/core
parent6638279564f64e14e033865fc2191c60679b389d (diff)
fix a compilation error
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/security/credentials/google_default/google_default_credentials.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lib/security/credentials/google_default/google_default_credentials.cc b/src/core/lib/security/credentials/google_default/google_default_credentials.cc
index cf6eb83758..0674540d01 100644
--- a/src/core/lib/security/credentials/google_default/google_default_credentials.cc
+++ b/src/core/lib/security/credentials/google_default/google_default_credentials.cc
@@ -58,7 +58,7 @@ static int g_is_on_gce = 0;
static gpr_mu g_state_mu;
/* Protect a metadata_server_detector instance that can be modified by more than
* one gRPC threads */
-.static gpr_mu* g_polling_mu;
+static gpr_mu* g_polling_mu;
static gpr_once g_once = GPR_ONCE_INIT;
static grpc_core::internal::grpc_gce_tenancy_checker g_gce_tenancy_checker =
grpc_alts_is_running_on_gcp;
@@ -98,7 +98,8 @@ static grpc_security_status google_default_create_security_connector(
grpc_security_status status = GRPC_SECURITY_ERROR;
/* Return failure if ALTS is selected but not running on GCE. */
if (use_alts && !g_is_on_gce) {
- gpr_log(GPR_ERROR, "ALTS is selected, but not running on GCE.") goto end;
+ gpr_log(GPR_ERROR, "ALTS is selected, but not running on GCE.");
+ goto end;
}
status = use_alts ? c->alts_creds->vtable->create_security_connector(
c->alts_creds, call_creds, target, args, sc, new_args)