Skip to content

Commit

Permalink
test(bigtable): Return error in correct format from test proxy (#9233)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhshkh committed Jan 16, 2024
1 parent 6ec2bb2 commit 8deb9ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bigtable/internal/testproxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,8 @@ func (s *goTestProxyServer) ReadModifyWriteRow(ctx context.Context, req *pb.Read

r, err := t.ApplyReadModifyWrite(ctx, k, rmw)
if err != nil {
return nil, err
res.Status = statusFromError(err)
return res, nil
}

rp, err := rowToProto(r)
Expand Down

0 comments on commit 8deb9ab

Please sign in to comment.