Skip to content

Commit

Permalink
commit generated code change
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianperkins committed Jan 29, 2021
1 parent c758949 commit 4b09caa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/ping-thrift/gen-go/ping/tchan-ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ func (c *tchanPingPongServiceClient) Ping(ctx thrift.Context, request *Ping) (*P
}
success, err := c.client.Call(ctx, c.thriftService, "Ping", &args, &resp)
if err == nil && !success {
switch {
default:
err = fmt.Errorf("received no result or unknown exception for Ping")
}
}

return resp.GetSuccess(), err
Expand Down

0 comments on commit 4b09caa

Please sign in to comment.