Skip to content

Commit

Permalink
docs: homogenize region tags (#752)
Browse files Browse the repository at this point in the history
These samples' region tags slightly differ from identical snippets in different languages. The following is the remedy:

1. Merge this PR to fix GitHub source (keep old tag for now)
2. Fix doc code includes to represent the better region tag
3. Submit a second PR to clean-up redundant region tag wrapping
  • Loading branch information
Strykrol committed Dec 15, 2020
1 parent fc63bc3 commit 2b3775a
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -1622,6 +1622,7 @@ static void createBackup(
}
// [END spanner_create_backup]

// [START spanner_cancel_backup_create]
// [START spanner_cancel_create_backup]
static void cancelCreateBackup(
DatabaseAdminClient dbAdminClient, DatabaseId databaseId, BackupId backupId) {
Expand Down Expand Up @@ -1666,6 +1667,7 @@ static void cancelCreateBackup(
}
}
// [END spanner_cancel_create_backup]
// [END spanner_cancel_backup_create]

// [START spanner_list_backup_operations]
static void listBackupOperations(InstanceAdminClient instanceAdminClient, DatabaseId databaseId) {
Expand Down

0 comments on commit 2b3775a

Please sign in to comment.