[pmg-devel] [PATCH pmg-api 2/4] utils: drop unused variable assignment
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Feb 26 21:18:37 CET 2025
Am 26.02.25 um 20:17 schrieb Stoiko Ivanov:
> Reported-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> src/PMG/Utils.pm | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/PMG/Utils.pm b/src/PMG/Utils.pm
> index 33f80ae..9a50de2 100644
> --- a/src/PMG/Utils.pm
> +++ b/src/PMG/Utils.pm
> @@ -54,7 +54,6 @@ my $user_regex = qr![^\s:/]+!;
>
> sub valid_pmg_realm_regex {
> my $cfg = PVE::INotify::read_file(PMG::Auth::Plugin::realm_conf_id());
> - my $ids = $cfg->{ids};
> my $realms = ['pam', 'quarantine', sort keys $cfg->{ids}->%* ];
> return join('|', @$realms);
> }
this is supererseded as I moved the method and cleaned it, and its usage, up.
More information about the pmg-devel
mailing list