Skip to content

Commit

Permalink
*: add glue code for br
Browse files Browse the repository at this point in the history
Signed-off-by: BornChanger <dawn_catcher@126.com>
  • Loading branch information
BornChanger committed Oct 19, 2023
1 parent 48da191 commit 0f44807
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/backup/restore/restore_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,9 @@ func (rm *restoreManager) makeRestoreJob(restore *v1alpha1.Restore) (*batchv1.Jo
if restore.Spec.VolumeAZ != "" {
args = append(args, fmt.Sprintf("--target-az=%s", restore.Spec.VolumeAZ))
}
if restore.Spec.WarmupStrategy == v1alpha1.RestoreWarmupStrategyFsr {
args = append(args, "--use-fsr=true")
}
}
default:
args = append(args, fmt.Sprintf("--mode=%s", v1alpha1.RestoreModeSnapshot))
Expand Down

0 comments on commit 0f44807

Please sign in to comment.