]> git.nbdom.net Git - nb.git/commitdiff
bin/ovh-api
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 5 Feb 2017 00:53:50 +0000 (00:53 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 5 Feb 2017 00:53:50 +0000 (00:53 +0000)
bin/ovh-api

index 376e50baa399bdfe172dccf55a848955707e0ce8..688f49a7b3b0b9c2ac7c0200dbe4aa97b50a27fc 100755 (executable)
@@ -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();