[pve-devel] r6467 - pve-manager/pve2/bin
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Aug 12 12:11:32 CEST 2011
Author: dietmar
Date: 2011-08-12 12:11:32 +0200 (Fri, 12 Aug 2011)
New Revision: 6467
Modified:
pve-manager/pve2/bin/pvesh
Log:
s/cli_handler2/cli_handler/
Modified: pve-manager/pve2/bin/pvesh
===================================================================
--- pve-manager/pve2/bin/pvesh 2011-08-12 07:46:06 UTC (rev 6466)
+++ pve-manager/pve2/bin/pvesh 2011-08-12 10:11:32 UTC (rev 6467)
@@ -220,7 +220,7 @@
check_proxyto($info, $uri_param);
- my $data = $handler->cli_handler2("$cmd $dir", $info->{name}, $args, [], $uri_param, $read_password);
+ my $data = $handler->cli_handler("$cmd $dir", $info->{name}, $args, [], $uri_param, $read_password);
warn "200 OK\n"; # always print OK status if successful
@@ -378,7 +378,7 @@
die "resource does not define child links\n";
}
- my $data = $handler->cli_handler2("ls $dir", $info->{name}, $args, [], $uri_param, $read_password);
+ my $data = $handler->cli_handler("ls $dir", $info->{name}, $args, [], $uri_param, $read_password);
my $lnk = PVE::JSONSchema::method_get_child_link($info);
my $children = extract_children($lnk, $data);
More information about the pve-devel
mailing list