diff options
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java | 4 |
1 files changed, 0 insertions, 4 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 4476befe70a..e91963ab621 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 @@ -122,10 +122,6 @@ public final class Node implements Nodelike { if (cloudAccount().isPresent()) throw new IllegalArgumentException("A child node cannot have cloud account set"); } - if (cloudAccount.isPresent() && exclusiveToApplicationId.isEmpty()) { - throw new IllegalArgumentException("Host in a custom cloud account must be exclusive to an application"); - } - if (type != NodeType.host && reservedTo.isPresent()) throw new IllegalArgumentException("Only tenant hosts can be reserved to a tenant"); |