X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=PVE%2FAPIClient%2FCommands%2Fremote.pm;h=c9e0e622a032f295948a9e978e2311d7c15c5578;hp=080934fd52450b6a81a5d6521a57d64fd0df651a;hb=f79acf69e705e35f0eac8b1b3f4fa77a129c5514;hpb=e2ca543cee2c735ede0ee4e4dd541c4831df1d82 diff --git a/PVE/APIClient/Commands/remote.pm b/PVE/APIClient/Commands/remote.pm index 080934f..c9e0e62 100644 --- a/PVE/APIClient/Commands/remote.pm +++ b/PVE/APIClient/Commands/remote.pm @@ -130,8 +130,11 @@ __PACKAGE__->register_method ({ code => sub { my ($param) = @_; - die "implement me"; + my $config = PVE::APIClient::Config->new(); + $config->remove_remote($param->{name}); + $config->save; + return undef; }}); our $cmddef = {