diff --git a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/PagedAttributesRemoteStorageValidator.java b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/PagedAttributesRemoteStorageValidator.java index 10ef8633472e..87b6991a4600 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/PagedAttributesRemoteStorageValidator.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/PagedAttributesRemoteStorageValidator.java @@ -58,10 +58,11 @@ private static void validatePagedAttributes(DeployLogger logger, String clusterN } private static String join(List fields) { - return fields.stream() + var ret = fields.stream() .map(Attribute::getName) .map(s -> "'" + s + "'") .collect(Collectors.joining(", ")); + return ret + ((fields.size() > 10) ? ", ..." : ""); } private static Set pagedAttributes(ImmutableSDField field) {