diff options
Diffstat (limited to 'vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java')
-rw-r--r-- | vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java b/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java index a05e4ed1e48..3a51e9c858f 100644 --- a/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java +++ b/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java @@ -1,6 +1,8 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespastat; +import com.yahoo.document.FixedBucketSpaces; + /** * This class contains the program parameters. * @@ -25,7 +27,7 @@ public class ClientParameters { String route, SelectionType selectionType, String id) { - this(help, dumpData, route, selectionType, id, "default"); + this(help, dumpData, route, selectionType, id, FixedBucketSpaces.defaultSpace()); } public ClientParameters( @@ -51,7 +53,7 @@ public class ClientParameters { private String route; private SelectionType selectionType; private String id; - private String bucketSpace = "default"; // TODO repo etc etc + private String bucketSpace = FixedBucketSpaces.defaultSpace(); public Builder setHelp(boolean help) { this.help = help; |