Skip to content

Commit

Permalink
overlord: use testutil.BackupMany()
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Borzecki <[email protected]>
  • Loading branch information
bboozzoo committed Jul 29, 2024
1 parent 30af0ee commit 98ecae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlord/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func MockEnsureInterval(d time.Duration) (restore func()) {

// MockPruneInterval sets the overlord prune interval for tests.
func MockPruneInterval(prunei, prunew, abortw time.Duration) (restore func()) {
r := testutil.Backup(&pruneInterval, &pruneWait, &abortWait)
r := testutil.BackupMany(&pruneInterval, &pruneWait, &abortWait)
pruneInterval = prunei
pruneWait = prunew
abortWait = abortw
Expand Down

0 comments on commit 98ecae7

Please sign in to comment.