diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-05-07 13:25:23 +0200 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-05-07 13:25:23 +0200 |
commit | e7ac6e07b25e1e20e7a56edaaff3a08f69ab0e0f (patch) | |
tree | 6bd6425c249f756a654c2cd11b7c5b89e905b636 /vespa-maven-plugin | |
parent | 2f563a74e8bcf63bbdaa71793cd55693ab0ec785 (diff) |
Default to "default" instance if set neither in pom.xml nor as property
Diffstat (limited to 'vespa-maven-plugin')
-rw-r--r-- | vespa-maven-plugin/src/main/java/ai/vespa/hosted/plugin/AbstractVespaMojo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-maven-plugin/src/main/java/ai/vespa/hosted/plugin/AbstractVespaMojo.java b/vespa-maven-plugin/src/main/java/ai/vespa/hosted/plugin/AbstractVespaMojo.java index 30113c83e92..b5822ff825e 100644 --- a/vespa-maven-plugin/src/main/java/ai/vespa/hosted/plugin/AbstractVespaMojo.java +++ b/vespa-maven-plugin/src/main/java/ai/vespa/hosted/plugin/AbstractVespaMojo.java @@ -54,7 +54,7 @@ public abstract class AbstractVespaMojo extends AbstractMojo { protected void setup() { tenant = firstNonBlank(tenant, project.getProperties().getProperty("tenant")); application = firstNonBlank(application, project.getProperties().getProperty("application")); - instance = firstNonBlank(instance, project.getProperties().getProperty("instance")); + instance = firstNonBlank(instance, project.getProperties().getProperty("instance"), "default"); id = ApplicationId.from(tenant, application, instance); controller = certificateFile == null |