Skip to content

Commit

Permalink
Fixed a couple of messages to match the corresponding tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwajvr committed Sep 4, 2024
1 parent 01064d3 commit cacc580
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions google/cloud/spanner/samples/graph_samples.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void InsertData(google::cloud::spanner::Client client) {
auto commit_result = client.Commit(spanner::Mutations{
insert_accounts, insert_persons, insert_transfers, insert_ownerships});
if (!commit_result) throw std::move(commit_result).status();
std::cout << "Insert was successful [spanner_insert_data]\n";
std::cout << "Insert was successful [spanner_insert_graph_data]\n";
}
//! [END spanner_insert_graph_data]

Expand Down Expand Up @@ -307,7 +307,8 @@ void QueryWithParameter(google::cloud::spanner::Client client) {
std::cout << "transfer_at: " << std::get<3>(*row) << "\n";
}

std::cout << "Query completed for [spanner_query_with_parameter]\n";
std::cout
<< "Query completed for [spanner_query_graph_data_with_parameter]\n";
}
//! [END spanner_query_graph_data_with_parameter]

Expand Down

0 comments on commit cacc580

Please sign in to comment.