From 4f1a8bd9d85d86c924af22514f1a58227166d184 Mon Sep 17 00:00:00 2001 From: Jasmine Emanouel <40879549+jasmine-nahrain@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:05:45 +1100 Subject: [PATCH] Update origin_server_auth.cc (#11915) --- plugins/origin_server_auth/origin_server_auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/origin_server_auth/origin_server_auth.cc b/plugins/origin_server_auth/origin_server_auth.cc index 609d575c304..7a73c2e7cf8 100644 --- a/plugins/origin_server_auth/origin_server_auth.cc +++ b/plugins/origin_server_auth/origin_server_auth.cc @@ -1097,7 +1097,7 @@ config_reloader(TSCont cont, TSEvent /* event ATS_UNUSED */, void *edata) S3Config *s3 = static_cast(TSContDataGet(cont)); s3->check_current_action(edata); S3Config *file_config = gConfCache.get(s3->conf_fname()); - std::string config_fname = makeConfigPath(file_config->conf_fname()); + std::string config_fname = makeConfigPath(s3->conf_fname()); if (!file_config || !file_config->valid()) { TSError("[%s] invalid configuration in file: %s. Check mandatory fields. Scheduling reload", PLUGIN_NAME, config_fname.c_str());