aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-02 11:07:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-06-02 11:07:12 -0700
commit48ed92ea38f40d62467eb7955bd4b8bb7cd0ef24 (patch)
tree11625441d2c3d033919169cd0e50f63ca8815b92 /src/node/ext
parentf78b822db787421bfd90a747ed6fdbb1d3dd4b80 (diff)
GRPC_CHANNEL_FATAL_FAILURE --> GRPC_CHANNEL_SHUTDOWN
Diffstat (limited to 'src/node/ext')
-rw-r--r--src/node/ext/node_grpc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/ext/node_grpc.cc b/src/node/ext/node_grpc.cc
index 6b6e42737b..f18ce01c6f 100644
--- a/src/node/ext/node_grpc.cc
+++ b/src/node/ext/node_grpc.cc
@@ -220,7 +220,7 @@ void InitConnectivityStateConstants(Local<Object> exports) {
Nan::Set(channel_state, Nan::New("TRANSIENT_FAILURE").ToLocalChecked(),
TRANSIENT_FAILURE);
Local<Value> FATAL_FAILURE(
- Nan::New<Uint32, uint32_t>(GRPC_CHANNEL_FATAL_FAILURE));
+ Nan::New<Uint32, uint32_t>(GRPC_CHANNEL_SHUTDOWN));
Nan::Set(channel_state, Nan::New("FATAL_FAILURE").ToLocalChecked(),
FATAL_FAILURE);
}