]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/API2/Storage/Config.pm
fix #862: do not resolve portal adress on storage add
[pve-storage.git] / PVE / API2 / Storage / Config.pm
index b16054b3c7ec0225fecc4accc1d7e60081d197cd..c114ddc76ece5c40508a3dd8218bf8da150d09e0 100755 (executable)
@@ -143,10 +143,6 @@ __PACKAGE__->register_method ({
            }
        }
 
-       if ($param->{portal}) {
-           $param->{portal} = PVE::Storage::resolv_portal($param->{portal});
-       }
-
        my $plugin = PVE::Storage::Plugin->lookup($type);
        my $opts = $plugin->check_config($storeid, $param, 1, 1);