diff options
Diffstat (limited to 'node-admin')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/servicedump/VespaServiceDumperImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/servicedump/VespaServiceDumperImpl.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/servicedump/VespaServiceDumperImpl.java index 66cc5e64b67..47ee9ba3d20 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/servicedump/VespaServiceDumperImpl.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/servicedump/VespaServiceDumperImpl.java @@ -109,7 +109,9 @@ public class VespaServiceDumperImpl implements VespaServiceDumper { for (String artifactType : artifactTypes) { ArtifactProducer producer = artifactProducers.get(artifactType); if (producer == null) { - handleFailure(context, request, startedAt, "No artifact producer exists for '" + artifactType + "'"); + String supportedValues = String.join(",", artifactProducers.keySet()); + handleFailure(context, request, startedAt, "No artifact producer exists for '" + artifactType + "'. " + + "Following values are allowed: " + supportedValues); return; } context.log(log, "Producing artifact of type '" + artifactType + "'"); |