Skip to content

Commit

Permalink
[release-15.0] Fix BackupShard to get its options from its own flags (
Browse files Browse the repository at this point in the history
#13813) (#13818)

Signed-off-by: Andrew Mason <[email protected]>
Co-authored-by: Andrew Mason <[email protected]>
  • Loading branch information
vitess-bot[bot] and Andrew Mason authored Aug 19, 2023
1 parent d407e9b commit f0b4ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/cmd/vtctldclient/command/backups.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ func commandBackupShard(cmd *cobra.Command, args []string) error {
stream, err := client.BackupShard(commandCtx, &vtctldatapb.BackupShardRequest{
Keyspace: keyspace,
Shard: shard,
AllowPrimary: backupOptions.AllowPrimary,
Concurrency: backupOptions.Concurrency,
AllowPrimary: backupShardOptions.AllowPrimary,
Concurrency: backupShardOptions.Concurrency,
})
if err != nil {
return err
Expand Down

0 comments on commit f0b4ab7

Please sign in to comment.