Skip to content

Commit e0f9989

Browse files
committed
fix bigtable sample usage check
1 parent 417605e commit e0f9989

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

google/cloud/bigtable/examples/client_samples.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ void TableWithServiceAccount(std::vector<std::string> const& argv) {
118118
}
119119

120120
void TableSetUniverseDomain(std::vector<std::string> const& argv) {
121-
if (!argv.empty()) {
122-
throw google::cloud::testing_util::Usage{"table-set-universe-domain"};
121+
if (argv.size() != 3) {
122+
throw google::cloud::testing_util::Usage{
123+
"table-set-endpoint <project-id> <instance-id> <table-id>"};
123124
}
124125
//! [table-set-universe-domain]
125126
namespace bigtable = ::google::cloud::bigtable;

0 commit comments

Comments
 (0)