aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-08-17 12:18:59 +0200
committerGitHub <noreply@github.com>2023-08-17 12:18:59 +0200
commit6d6d24239305fa9e5604a85b769fb8f7da1d1a53 (patch)
treeebe5bd757c6a62f65b6bd5ad768cf2e3eed1a9e8
parent58cb859b03322f1976b89b7073c2ec459762ff52 (diff)
parent432cb6554c09e62b43f89704b4c842e26db473d0 (diff)
Merge pull request #28072 from vespa-engine/balder/redundancy-must-be-at-least-1
Require redundancy of at least 1
-rw-r--r--config-model/src/main/resources/schema/content.rnc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/main/resources/schema/content.rnc b/config-model/src/main/resources/schema/content.rnc
index bb0e39a41ab..dff24745778 100644
--- a/config-model/src/main/resources/schema/content.rnc
+++ b/config-model/src/main/resources/schema/content.rnc
@@ -6,11 +6,11 @@ include "searchchains.rnc"
Redundancy = element redundancy {
attribute reply-after { xsd:nonNegativeInteger }? &
- xsd:nonNegativeInteger
+ xsd:integer { minInclusive = "1" maxInclusive = "65534" }
}
MinRedundancy = element min-redundancy {
- xsd:nonNegativeInteger
+ xsd:integer { minInclusive = "1" maxInclusive = "65534" }
}
DistributionType = element distribution {