summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2020-12-03 10:19:42 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2020-12-18 17:58:22 +0100
commitd595c034b4d8005b907341dafdbef3a1cb978084 (patch)
tree9a6609aa9db7811a1a22394eee759488388a75e3
parent4de2337aef90eac6091e3db2c4a1029d1892e208 (diff)
subnets: api : add missing param in on_update_hook for update
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
-rw-r--r--PVE/API2/Network/SDN/Subnets.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/PVE/API2/Network/SDN/Subnets.pm b/PVE/API2/Network/SDN/Subnets.pm
index a3bc10b..07ef2e1 100644
--- a/PVE/API2/Network/SDN/Subnets.pm
+++ b/PVE/API2/Network/SDN/Subnets.pm
@@ -240,7 +240,7 @@ __PACKAGE__->register_method ({
raise_param_exc({ ipam => "you can't change ipam"}) if $opts->{ipam} && $scfg->{ipam} && $opts->{ipam} ne $scfg->{ipam};
my $subnet = PVE::Network::SDN::Subnets::sdn_subnets_config($cfg, $id);
- PVE::Network::SDN::SubnetPlugin->on_update_hook($zone, $id, $subnet);
+ PVE::Network::SDN::SubnetPlugin->on_update_hook($zone, $id, $subnet, $scfg);
PVE::Network::SDN::Subnets::write_config($cfg);