From dd47787074e749357694037553fc75854040aee3 Mon Sep 17 00:00:00 2001 From: Sebastian Schmitt Date: Thu, 4 Jun 2026 13:26:41 +0200 Subject: [PATCH] authorization_header config field must be bare function reference The call to the authorization header function is done in the implementation at https://github.com/reframe-hpc/reframe/blob/c6a4b9b4a9b48dec0953bbe4222269f293f1b7b2/reframe/core/logging.py#L754 Therefore, `()` must be absent from the configuration file. --- examples/tutorial/config/cluster_perflogs_httpjson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tutorial/config/cluster_perflogs_httpjson.py b/examples/tutorial/config/cluster_perflogs_httpjson.py index 179335675..d19b602b1 100644 --- a/examples/tutorial/config/cluster_perflogs_httpjson.py +++ b/examples/tutorial/config/cluster_perflogs_httpjson.py @@ -120,7 +120,7 @@ def _format_record(record, extras, ignore_keys): 'ignore_keys': ['check_perfvalues'], 'json_formatter': (_format_record if os.getenv('CUSTOM_JSON') else None), - 'authorization_header': _get_authorization_header() + 'authorization_header': _get_authorization_header } ] }