Branch: refs/heads/2.2.0
Home:
https://github.com/tribe29/checkmk
Commit: a49dc6c2cf8d30a68b856c5026ab4506c99524cf
https://github.com/tribe29/checkmk/commit/a49dc6c2cf8d30a68b856c5026ab4506c…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2023-03-21 (Tue, 21 Mar 2023)
Changed paths:
M agents/plugins/nginx_status.py
Log Message:
-----------
nginx_status: fix missing config
At the module level, global and local variables are in the same
dictionary. If `exec` is moved from module scope, to the function
scope, then the executed code will only put the variables into
`locals()`. Whether updating `locals()` affects name lookups is
implementation defined.
CMK-12773
Change-Id: I375e41ab3582a16bd2b4f673120ad385c4bc27d0