Skip to content

Commit

Permalink
[UPDATE] Rename argument "--varDir" to "-varDir"
Browse files Browse the repository at this point in the history
Signed-off-by: poyaz <pooya_azarpour@yahoo.com>
  • Loading branch information
poyaz committed Apr 11, 2024
1 parent df889cb commit 1fc3b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/backupcontroller/backup_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (b *BackupExecutor) createServiceAccountAndBinding(ctx context.Context) err
}

func (b *BackupExecutor) setupArgs() []string {
args := []string{"--varDir", cfg.Config.PodVarDir}
args := []string{"-varDir", cfg.Config.PodVarDir}
if len(b.backup.Spec.Tags) > 0 {
args = append(args, executor.BuildTagArgs(b.backup.Spec.Tags)...)
}
Expand Down

0 comments on commit 1fc3b16

Please sign in to comment.