From b3b63fc27d9e3285cd5c498b3bc6f990e266bc31 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 14 Jul 2020 13:51:26 +0200 Subject: [PATCH] fix another encryption_key vs encryption-key instance Signed-off-by: Wolfgang Bumiller --- PVE/API2/Storage/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Storage/Config.pm b/PVE/API2/Storage/Config.pm index 251b4af..09ba747 100755 --- a/PVE/API2/Storage/Config.pm +++ b/PVE/API2/Storage/Config.pm @@ -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})) { -- 2.39.2