Skip to content

Commit fba9e70

Browse files
committed
fix
1 parent 87a56fd commit fba9e70

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

restful.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,6 @@ func (c *APIClient) PollUntilQueryEnd(ctx context.Context, resp *QueryResponse)
382382
// the kill url to tell the backend it's killed.
383383
fmt.Printf("query canceled, kill query:%s", resp.ID)
384384
_ = c.KillQuery(context.Background(), resp)
385-
} else {
386-
_ = c.CloseQuery(ctx, resp)
387385
}
388386
return nil, err
389387
}

0 commit comments

Comments
 (0)