diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-19 20:01:37 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-19 20:01:37 +0200 |
commit | 40a11a146e6cb094aa80dbfa0d97879006c2c486 (patch) | |
tree | 24584e00f124a9f4d65bb0ab601c56aae7fbd47c /config-model-api | |
parent | 9777847f6f0d40f37c3bedbc0d5a34a1fdeab2e2 (diff) |
Allow set of distributable files to change after initial deploy.
This is necessary as bootstrapping the configserver with a new version might change set of files to distribute.
Diffstat (limited to 'config-model-api')
-rw-r--r-- | config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java b/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java index 0a809e6b542..7e4a6aec53a 100644 --- a/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java +++ b/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java @@ -5,6 +5,7 @@ import java.nio.ByteBuffer; import java.util.List; import com.yahoo.config.FileReference; +import com.yahoo.net.HostName; import net.jpountz.xxhash.XXHashFactory; @@ -20,8 +21,10 @@ public interface FileRegistry { /** * Returns the name of the host which is the source of the files + * @deprecated Remove after 7.253 */ - String fileSourceHost(); + @Deprecated + default String fileSourceHost() { return HostName.getLocalhost(); } List<Entry> export(); |