diff options
author | vnugent <public@vaughnnugent.com> | 2024-03-09 19:13:21 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-03-09 19:13:21 -0500 |
commit | 5d4192880654fd6e00e587814169415b42621327 (patch) | |
tree | f35e2e41e346c5067f0195e7b0f7197e9729e940 /plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs | |
parent | a4b3504bb891829074d1efde0433eae010862181 (diff) |
chore: #2 Minor fixes and polish before release
Diffstat (limited to 'plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs')
-rw-r--r-- | plugins/ObjectCacheServer/src/Endpoints/WellKnownEndpoint.cs | 8 |
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) |