mirror of
https://git.proxmox.com/git/pmg-api
synced 2025-08-11 21:07:24 +00:00
restenv: query arguments in check_node_is_master
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@proxmox.com> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
874c21874c
commit
42f067b041
@ -103,7 +103,7 @@ sub check_user_exist {
|
||||
}
|
||||
|
||||
sub check_node_is_master {
|
||||
my ($self, $noerr);
|
||||
my ($self, $noerr) = @_;
|
||||
|
||||
my $master = PMG::Cluster::get_master_node($self->{cinfo});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user