diff options
author | Øyvind Grønnesby <oyving@verizonmedia.com> | 2019-11-18 13:54:29 +0100 |
---|---|---|
committer | Øyvind Grønnesby <oyving@verizonmedia.com> | 2019-11-18 13:54:29 +0100 |
commit | 8b14ecc28a68aeda41d1f76141c50e94419defab (patch) | |
tree | 99af77c9ec89a1d81a13eb8990b0c41757786e5d /vespa-maven-plugin | |
parent | 00c98abad2d7a98e8a16c5cbd4d3773720a90a54 (diff) |
Make error message match property name
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 55616fc7936..96ee5b88edc 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 @@ -80,7 +80,7 @@ public abstract class AbstractVespaMojo extends AbstractMojo { ? ControllerHttpClient.withSignatureKey(URI.create(endpoint), Paths.get(apiKeyFile), id) : ControllerHttpClient.withKeyAndCertificate(URI.create(endpoint), Paths.get(apiKeyFile), Paths.get(apiCertificateFile)); } else { - throw new IllegalArgumentException("One of the properties 'privateKey' or 'privateKeyFile' is required."); + throw new IllegalArgumentException("One of the properties 'apiKeyFile' or 'apiKeyFile' is required."); } } |