[pmg-devel] [PATCH api 3/3] UserConfig: rename verity_entry to verify_entry
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Feb 9 11:08:32 CET 2018
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
PMG/UserConfig.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/PMG/UserConfig.pm b/PMG/UserConfig.pm
index 0b9a73d..c75a6d8 100644
--- a/PMG/UserConfig.pm
+++ b/PMG/UserConfig.pm
@@ -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 at pmg';
@@ -241,7 +241,7 @@ sub write_user_conf {
$d->{userid} = $userid;
die "invalid userid '$userid'\n" if $userid eq 'root at pmg';
- $verity_entry->($d);
+ $verify_entry->($d);
$cfg->{$d->{userid}} = $d;
if ($d->{userid} ne 'root at pam') {
--
2.11.0
More information about the pmg-devel
mailing list