summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2020-07-01 09:10:38 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2020-07-03 13:46:52 +0200
commit155fa5c731a61563da77d5a132fdecc819b65009 (patch)
tree8e95f45941bc8ff22be6716597ea4b9069c38c34
parent1d44ce704733eeac5e892d4e70a84d4e2ed72775 (diff)
cleanup code with wrong copy/paste from Storage
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
-rw-r--r--PVE/API2/Network/SDN/Zones.pm2
-rw-r--r--PVE/API2/Network/SDN/Zones/Content.pm1
2 files changed, 1 insertions, 2 deletions
diff --git a/PVE/API2/Network/SDN/Zones.pm b/PVE/API2/Network/SDN/Zones.pm
index 3e371df..f629f43 100644
--- a/PVE/API2/Network/SDN/Zones.pm
+++ b/PVE/API2/Network/SDN/Zones.pm
@@ -35,7 +35,7 @@ my $api_sdn_zones_config = sub {
$scfg->{digest} = $cfg->{digest};
if ($scfg->{nodes}) {
- $scfg->{nodes} = PVE::Storage::Plugin->encode_value($scfg->{type}, 'nodes', $scfg->{nodes});
+ $scfg->{nodes} = PVE::Network::SDN::Zones::Plugin->encode_value($scfg->{type}, 'nodes', $scfg->{nodes});
}
return $scfg;
diff --git a/PVE/API2/Network/SDN/Zones/Content.pm b/PVE/API2/Network/SDN/Zones/Content.pm
index fb76133..66f49df 100644
--- a/PVE/API2/Network/SDN/Zones/Content.pm
+++ b/PVE/API2/Network/SDN/Zones/Content.pm
@@ -6,7 +6,6 @@ use Data::Dumper;
use PVE::SafeSyslog;
use PVE::Cluster;
-use PVE::Storage;
use PVE::INotify;
use PVE::Exception qw(raise_param_exc);
use PVE::RPCEnvironment;