diff options
author | Harald Musum <musum@verizonmedia.com> | 2022-01-29 14:17:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 14:17:43 +0100 |
commit | 03edb19207234e238db22d81ae3d613aaf14f965 (patch) | |
tree | 80106f4d8cd0e278a7bda6a8c8e328f28e773fa6 /config-model/src/main/java/com/yahoo/config/model | |
parent | 453c9a0f7673557971b4c143e0ac5d84fb73e56b (diff) | |
parent | 265556540f89f60374589c985f4afd7d2ec45675 (diff) |
Merge pull request #20982 from vespa-engine/services-updates
Services updates
Diffstat (limited to 'config-model/src/main/java/com/yahoo/config/model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/config/model/ConfigModelRepo.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config-model/src/main/java/com/yahoo/config/model/ConfigModelRepo.java b/config-model/src/main/java/com/yahoo/config/model/ConfigModelRepo.java index 77b71a66118..0e0f992952a 100644 --- a/config-model/src/main/java/com/yahoo/config/model/ConfigModelRepo.java +++ b/config-model/src/main/java/com/yahoo/config/model/ConfigModelRepo.java @@ -138,12 +138,9 @@ public class ConfigModelRepo implements ConfigModelRepoAdder, Serializable, Iter continue; } if (tagName.equals("config")) { - // TODO: disallow on Vespa 8 + // Top level config, mainly to be used by the Vespa team. continue; } - if (tagName.equals("cluster")) { - throw new IllegalArgumentException("<" + tagName + "> on top-level is not allowed anymore"); - } if ((tagName.equals("clients")) && deployState.isHosted()) throw new IllegalArgumentException("<" + tagName + "> is not allowed when running Vespa in a hosted environment"); |