diff options
Diffstat (limited to 'plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs')
-rw-r--r-- | plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs b/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs index 87a471b..18855e3 100644 --- a/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs +++ b/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs @@ -1,5 +1,5 @@ /* -* Copyright (c) 2023 Vaughn Nugent +* Copyright (c) 2024 Vaughn Nugent * * Library: VNLib * Package: ObjectCacheServer @@ -59,13 +59,13 @@ namespace VNLib.Data.Caching.ObjectCache.Server.Endpoints public WellKnownEndpoint(PluginBase plugin) { //Get the node config - NodeConfig nodeConfig = plugin.GetOrCreateSingleton<NodeConfig>(); + ObjectCacheSystemState conf = plugin.GetOrCreateSingleton<ObjectCacheSystemState>(); //serialize the config, discovery may not be enabled - _advertisment = nodeConfig.Config.Advertisment; - _keyStore = nodeConfig.KeyStore; + _advertisment = conf.NodeConfig.Advertisment; + _keyStore = conf.KeyStore; - InitPathAndLog(nodeConfig.WellKnownPath, plugin.Log); + InitPathAndLog(conf.ClusterConfig.WellKnownPath, plugin.Log); } protected override VfReturnType Get(HttpEntity entity) |