Skip to content

Commit 34ac5a0

Browse files
committed
fixup
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
1 parent a1c42bf commit 34ac5a0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pkg/config/sync.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,9 +758,7 @@ func GetCurrentConfigString(currConfig *controller.OperatorConfiguration) string
758758
if workspace.BackupCronJob.Enable != nil && *workspace.BackupCronJob.Enable != *defaultConfig.Workspace.BackupCronJob.Enable {
759759
config = append(config, fmt.Sprintf("workspace.backupCronJob.enable=%t", *workspace.BackupCronJob.Enable))
760760
}
761-
762761
if workspace.BackupCronJob.Schedule != defaultConfig.Workspace.BackupCronJob.Schedule {
763-
config = append(config, fmt.Sprintf("workspace.backupCronJob.cronJobScript=%s", workspace.BackupCronJob.Schedule))
764762
config = append(config, fmt.Sprintf("workspace.backupCronJob.schedule=%s", workspace.BackupCronJob.Schedule))
765763
}
766764
if workspace.BackupCronJob.Registry != nil {

0 commit comments

Comments
 (0)