Skip to content

Commit

Permalink
WIP: fixed comment
Browse files Browse the repository at this point in the history
Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
  • Loading branch information
peng225 committed Oct 17, 2024
1 parent 6ef1a3c commit c5e5e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/mantlebackup_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,9 @@ func (r *MantleBackupReconciler) finalize(
}

type dataSyncPrepareResult struct {
isIncremental bool // This field is valid iff isSecondaryMantleBackupReadyToUse is false.
isIncremental bool // NOTE: The value is forcibly set to false if isSecondaryMantleBackupReadyToUse is true.
isSecondaryMantleBackupReadyToUse bool
diffFrom *mantlev1.MantleBackup // non-nil value iff isIncremental is true and isSecondaryMantleBackupReadyToUse is false.
diffFrom *mantlev1.MantleBackup // non-nil value iff isIncremental is true.
}

func (r *MantleBackupReconciler) prepareForDataSynchronization(
Expand Down

0 comments on commit c5e5e28

Please sign in to comment.