diff options
author | 2015-07-07 16:11:47 -0700 | |
---|---|---|
committer | 2015-07-07 16:11:47 -0700 | |
commit | 2be6ac0dc14901b7f8728fcc0627592c0d4e37c1 (patch) | |
tree | f79b5142384246977dd3272a92de026ce6810d86 /src/node/health_check | |
parent | d046cc6de52e3bf0a742efd19597b680d689f373 (diff) |
Minor changes to match recent design changes
Diffstat (limited to 'src/node/health_check')
-rw-r--r-- | src/node/health_check/health.js | 2 | ||||
-rw-r--r-- | src/node/health_check/health.proto | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/node/health_check/health.js b/src/node/health_check/health.js index 632cb24127..09a57d38bd 100644 --- a/src/node/health_check/health.js +++ b/src/node/health_check/health.js @@ -51,7 +51,7 @@ HealthImplementation.prototype.setStatus = function(service, status) { HealthImplementation.prototype.check = function(call, callback){ var service = call.request.service; - callback(null, {status: _.get(this.statusMap, service, 'UNSPECIFIED')}); + callback(null, {status: _.get(this.statusMap, service, 'UNKNOWN')}); }; module.exports = { diff --git a/src/node/health_check/health.proto b/src/node/health_check/health.proto index 224d954faa..1f6eb6a80d 100644 --- a/src/node/health_check/health.proto +++ b/src/node/health_check/health.proto @@ -37,7 +37,7 @@ message HealthCheckRequest { message HealthCheckResponse { enum ServingStatus { - UNSPECIFIED = 0; + UNKNOWN = 0; SERVING = 1; NOT_SERVING = 2; } |