]> git.proxmox.com Git - pve-storage.git/commitdiff
fix another encryption_key vs encryption-key instance
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 14 Jul 2020 11:51:26 +0000 (13:51 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 14 Jul 2020 11:51:26 +0000 (13:51 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
PVE/API2/Storage/Config.pm

index 251b4afdb91935dd10c92f4f271f53b1672d011a..09ba747ddfe81755598593dd3911f6381c476c80 100755 (executable)
@@ -120,7 +120,7 @@ my sub extract_sensitive_params :prototype($$) {
     my %delete = map { $_ => 1 } ($delete_list || [])->@*;
 
     # always extract pw and keys, so they don't get written to the www-data readable scfg
-    for my $opt (qw(password encryption_key)) {
+    for my $opt (qw(password encryption-key)) {
        # First handle deletions as explicitly setting `undef`, afterwards new values may override
        # it.
        if (exists($delete{$opt})) {