From: Devops Date: Mon, 3 Jul 2017 20:43:55 +0000 (+0100) Subject: bin/ovh-api X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=4f64a40bd2f0bb052e7a51d1e51b22c10fd277c2;p=nb.git bin/ovh-api --- diff --git a/bin/ovh-api b/bin/ovh-api index 3be6d512..f2d6176f 100755 --- a/bin/ovh-api +++ b/bin/ovh-api @@ -224,7 +224,7 @@ sub url_query { } else { local $_ = query($url,$method,$body); print ref($_) eq '' ? $_ : JSON::encode_json($_); - #print JSON::encode_json(_query($url,$method,$body)); + #print JSON::encode_json(query($url,$method,$body)); } print "\n"; exit; @@ -301,7 +301,7 @@ my @tbs = ( # # Rows # - for ((_query($tb->{path}))) { + for ((query($tb->{path}))) { my %row = %$_; my @vals;