From: Nicolas Boisselier Date: Sun, 5 Feb 2017 00:53:50 +0000 (+0000) Subject: bin/ovh-api X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=dbed4c64ed27607082930e4339352af05737f240;p=nb.git bin/ovh-api --- diff --git a/bin/ovh-api b/bin/ovh-api index 376e50ba..688f49a7 100755 --- a/bin/ovh-api +++ b/bin/ovh-api @@ -215,6 +215,8 @@ my @tbs = ( # Search rows for my $id (@{ $response->content }) { + $id = check_row($tb->{path},$id); + next unless defined $id; my $response = $Api->rawCall(path=>$tb->{path}.'/'.$id,method=>'GET',body=>{}); die "$NAME: ERR: ".$response->error()."\n" if $response->isFailure();