diff options
author | Leandro Alves <leandroalves@yahooinc.com> | 2022-03-14 23:45:14 +0100 |
---|---|---|
committer | Valerij Fredriksen <valerijf@yahooinc.com> | 2022-03-15 12:12:48 +0100 |
commit | 20e5e6f8970a833dbf59f63fed7dd26d945febb6 (patch) | |
tree | abc5dee26444dc66181fb5f2abf537d3b1fa5d3c /controller-api | |
parent | a7286271db0f3d155f48616153cf78601baed81b (diff) |
update tests
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/tenant/TenantContacts.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/tenant/TenantContacts.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/tenant/TenantContacts.java index 8573beefbab..14635a3bb30 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/tenant/TenantContacts.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/tenant/TenantContacts.java @@ -57,7 +57,7 @@ public class TenantContacts { public Contact(List<Audience> audiences) { this.audiences = List.copyOf(audiences); - if (audiences.isEmpty()) throw new IllegalArgumentException("audience cannot be empty"); + if (audiences.isEmpty()) throw new IllegalArgumentException("at least one notification activity must be enabled"); } public List<Audience> audiences() { return audiences; } |