-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bigtable/bttest): Error when applying a mutation with an empty ro…
…w key (#9512) * fix(bigtable/bttest): Error when applying a mutation with an empty row key Against a real version of Bigtable, an attempt to apply a mutation with an empty row key leads to the following error being produced ``` unable to apply: rpc error: code = InvalidArgument desc = Row keys must be non-empty ``` bttest does not conform to this behaviour. This commit: - adds error-handling when given a mutation with an empty row key, and - adds a regression test. * chore(bigtable/bttest): Remove a deprecated option from the example grpc.WithInsecure is deprecated. It was marked as such by v1.43.0 of the library. See here: grpc/grpc-go#4718 This commit removes a reference to this from the example comment. --------- Co-authored-by: Baha Aiman <[email protected]>
- Loading branch information
1 parent
727da30
commit 7231423
Showing
2 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters