diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2021-01-05 13:43:55 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2021-01-05 13:43:55 +0100 |
commit | 537a9b3959d2d687207fe4a146dae6d82221806b (patch) | |
tree | 1c004279fee431fa42594347cf10aa13ccab3091 /node-repository | |
parent | 7f7328ac1a8ee82307ad5a4c9ae324776841f80d (diff) |
Make clients use orchestratorStatus instead of allowedToBeDown
Diffstat (limited to 'node-repository')
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/NodesResponse.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/NodesResponse.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/NodesResponse.java index 3a9246379cf..e12952062b8 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/NodesResponse.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/NodesResponse.java @@ -166,7 +166,7 @@ class NodesResponse extends HttpResponse { orchestrator.apply(new HostName(node.hostname())) .ifPresent(info -> { object.setBool("allowedToBeDown", info.status().isSuspended()); - // TODO: Remove allowedToBeDown as a special-case of orchestratorHostStatus + // TODO: Remove allowedToBeDown as a special-case of orchestratorStatus if (info.status() != HostStatus.NO_REMARKS) { object.setString("orchestratorStatus", info.status().asString()); } |