diff options
author | Valerij Fredriksen <valerijf@verizonmedia.com> | 2019-06-04 11:23:20 +0200 |
---|---|---|
committer | Valerij Fredriksen <valerijf@verizonmedia.com> | 2019-06-04 11:23:20 +0200 |
commit | 75b6a57562d97854cb48498820cae0c9011dc2f5 (patch) | |
tree | b86894e5ec24f705409f9bcda04b9f234e841f4d /node-repository | |
parent | dd359e0143899abbcfeef5922985c936ff24ed73 (diff) |
Comment zone-app specific code that should be removed after the migration
Diffstat (limited to 'node-repository')
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/OperatorChangeApplicationMaintainer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/OperatorChangeApplicationMaintainer.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/OperatorChangeApplicationMaintainer.java index 872725e32b1..4c5310d69b6 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/OperatorChangeApplicationMaintainer.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/OperatorChangeApplicationMaintainer.java @@ -61,6 +61,7 @@ public class OperatorChangeApplicationMaintainer extends ApplicationMaintainer { private Optional<ApplicationId> owner(Node node) { if (node.allocation().isPresent()) return node.allocation().map(Allocation::owner); + // TODO: Remove after removing tenant hosts from zone-app return node.type() == NodeType.host ? Optional.of(ZONE_APPLICATION_ID) : Optional.empty(); } |