[pmg-devel] applied: [PATCH pmg-api] restenv: pass arguments to check_node_is_master

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Feb 27 14:59:37 CET 2025


Am 27.02.25 um 14:45 schrieb Stoiko Ivanov:
> Mira noticed this while testing logging in to a secondary node with
> OIDC and autocreate.
> 
> as check_node_is_master is only used in one other place (without
> $noerr) I assume this simply never got noticed.
> 
> Reported-by: Mira Limbeck <m.limbeck at proxmox.com>
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  src/PMG/RESTEnvironment.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!

reworded subject to "query arguments in check_node_is_master",
as the problem wasn't that call-sites forgot to pass the argument
but that the method did not look (queried) at them.




More information about the pmg-devel mailing list