summaryrefslogtreecommitdiffstats
path: root/vespaclient-core
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2022-07-07 12:19:09 +0200
committerHarald Musum <musum@yahooinc.com>2022-07-07 12:19:09 +0200
commit2a64c712743594812dbf96ec5ff8d3b7482c4748 (patch)
treeeda8cc27689fb90afb644a12976441642f898012 /vespaclient-core
parent6c0b98634aad1e3ea60a5680afb5943391716b12 (diff)
Deprecate ConfigGetter
Diffstat (limited to 'vespaclient-core')
-rw-r--r--vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterList.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterList.java b/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterList.java
index d60463df581..c42d48b4821 100644
--- a/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterList.java
+++ b/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterList.java
@@ -20,6 +20,7 @@ public class ClusterList {
this.contentClusters = List.copyOf(contentClusters);
}
+ @SuppressWarnings("deprecation")
public ClusterList(String configId) {
this(new ConfigGetter<>(ClusterListConfig.class).getConfig(configId));
}