diff options
| author | Alexandre Derumier <aderumier@odiso.com> | 2020-07-01 09:10:38 +0200 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2020-07-03 13:46:52 +0200 |
| commit | 155fa5c731a61563da77d5a132fdecc819b65009 (patch) | |
| tree | 8e95f45941bc8ff22be6716597ea4b9069c38c34 /PVE/API2/Network/SDN/Zones.pm | |
| parent | 1d44ce704733eeac5e892d4e70a84d4e2ed72775 (diff) | |
cleanup code with wrong copy/paste from Storage
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'PVE/API2/Network/SDN/Zones.pm')
| -rw-r--r-- | PVE/API2/Network/SDN/Zones.pm | 2 |
1 files changed, 1 insertions, 1 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; |
