File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ int main(int argc, char* argv[]) try {
5454 // Create a namespace alias to make the code easier to read.
5555 namespace cbt = ::google::cloud : :bigtable;
5656
57- cbt::Table table(cbt::MakeDataClient(project_id, instance_id), table_id);
57+ cbt::Table table(cbt::CreateDefaultDataClient(project_id, instance_id,
58+ cbt::ClientOptions()),
59+ table_id);
5860
5961 std::string row_key = "r1";
6062 std::string column_family = "cf1";
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ int main(int argc, char* argv[]) try {
3131 // Create a namespace alias to make the code easier to read.
3232 namespace cbt = ::google::cloud::bigtable;
3333
34- cbt::Table table (cbt::MakeDataClient (project_id, instance_id), table_id);
34+ cbt::Table table (cbt::CreateDefaultDataClient (project_id, instance_id,
35+ cbt::ClientOptions ()),
36+ table_id);
3537
3638 std::string row_key = " r1" ;
3739 std::string column_family = " cf1" ;
You can’t perform that action at this time.
0 commit comments