]> git.proxmox.com Git - pmg-api.git/commitdiff
UserConfig: rename verity_entry to verify_entry
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 9 Feb 2018 10:08:32 +0000 (11:08 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 15 Feb 2018 07:25:02 +0000 (08:25 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
PMG/UserConfig.pm

index 0b9a73da6850b16d92b590cc7b271fd4528df637..c75a6d85b098e353edc7b1c90287458509b3c706 100644 (file)
@@ -129,7 +129,7 @@ $update_schema->{properties}->{delete} = {
     optional => 1,
 };
 
-my $verity_entry = sub {
+my $verify_entry = sub {
     my ($entry) = @_;
 
     my $errors = {};
@@ -203,7 +203,7 @@ sub read_user_conf {
                    $d->{$k} = $+{$k} if $+{$k};
                }
                eval {
-                   $verity_entry->($d);
+                   $verify_entry->($d);
                    $cfg->{$d->{userid}} = $d;
                    die "role 'root' is reserved\n"
                        if $d->{role} eq 'root' && $d->{userid} ne 'root@pmg';
@@ -241,7 +241,7 @@ sub write_user_conf {
        $d->{userid} = $userid;
 
        die "invalid userid '$userid'\n" if $userid eq 'root@pmg';
-       $verity_entry->($d);
+       $verify_entry->($d);
        $cfg->{$d->{userid}} = $d;
 
        if ($d->{userid} ne 'root@pam') {