summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PVE/API2/Network/SDN/Controllers.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PVE/API2/Network/SDN/Controllers.pm b/src/PVE/API2/Network/SDN/Controllers.pm
index 38a685d..b776273 100644
--- a/src/PVE/API2/Network/SDN/Controllers.pm
+++ b/src/PVE/API2/Network/SDN/Controllers.pm
@@ -235,7 +235,7 @@ __PACKAGE__->register_method ({
PVE::SectionConfig::delete_from_config($scfg, $options, $opts, $delete);
}
- foreach my $k (%$opts) {
+ for my $k (keys %{$opts}) {
$scfg->{$k} = $opts->{$k};
}