diff options
author | Harald Musum <musum@yahooinc.com> | 2022-01-17 12:04:10 +0100 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2022-01-17 12:04:10 +0100 |
commit | 1fb4af9551cfdec71e4282ce953e53817cd71074 (patch) | |
tree | 96181b11f6a21b1429576be9ae7ade6f1c67467a /configserver | |
parent | ecca10b41397da52a5d13482eebe92270f79bf46 (diff) |
Add note about when builder can be used
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java index bde5e73d59d..ea46bfc8833 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java @@ -206,6 +206,7 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye this.flagSource = flagSource; } + // Should be used by tests only (first constructor in this class makes sure we use injectable components where possible) public static class Builder { private TenantRepository tenantRepository; private Optional<Provisioner> hostProvisioner; |