param mapping fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2020-07-10 10:52:45 +02:00
parent c43655d2ed
commit 3ca5000825

View File

@ -39,8 +39,8 @@ sub param_mapping {
my $mapping = {
'cifsscan' => [ $password_map ],
'create' => [ $password_map, 'encryption_key' ],
'update' => [ $password_map, 'encryption_key' ],
'create' => [ $password_map, 'encryption-key' ],
'update' => [ $password_map, 'encryption-key' ],
};
return $mapping->{$name};
}