diff options
author | gjoranv <gjoranv@gmail.com> | 2022-11-07 18:19:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 18:19:18 +0100 |
commit | 3b8d6b6d4f77511cdab80e1bdfce6dcce2231e88 (patch) | |
tree | bdd95390412076fd21ddc28ed4d8d1e708c3a599 | |
parent | d29cb7e64a30a93b4ab445c872449809cdde6bcd (diff) | |
parent | a05ba847b45c6920cc0831bdad3876589fbef344 (diff) |
Merge pull request #24783 from vespa-engine/freva/allow-cloud-account
Allow cloud-account on child nodes
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java index 768036fd284..de1f9e65415 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java @@ -118,7 +118,6 @@ public final class Node implements Nodelike { if (!ipConfig.pool().ipSet().isEmpty()) throw new IllegalArgumentException("A child node cannot have an IP address pool"); if (modelName.isPresent()) throw new IllegalArgumentException("A child node cannot have model name set"); if (switchHostname.isPresent()) throw new IllegalArgumentException("A child node cannot have switch hostname set"); - if (!cloudAccount.isEmpty()) throw new IllegalArgumentException("A child node cannot have cloud account set"); } if (type != NodeType.host && reservedTo.isPresent()) |