aboutsummaryrefslogtreecommitdiff
path: root/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs')
-rw-r--r--plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs b/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs
index 04380c5..18855e3 100644
--- a/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs
+++ b/plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs
@@ -59,13 +59,13 @@ namespace VNLib.Data.Caching.ObjectCache.Server.Endpoints
public WellKnownEndpoint(PluginBase plugin)
{
//Get the node config
- NodeConfig nodeConfig = plugin.GetOrCreateSingleton<ObjectCacheSystemState>().Configuration;
+ 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)