Skip to content

Commit

Permalink
Rename removeWarmSnapshots
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Lucidi <[email protected]>
  • Loading branch information
mansam committed Nov 13, 2024
1 parent 0bd661a commit cc3ae35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/plan/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,12 +503,12 @@ func (r *Migration) cleanup(vm *plan.VMStatus, failOnErr func(error) bool) error
return err
}

r.removeWarmSnapshots(vm)
r.removeLastWarmSnapshot(vm)

return nil
}

func (r *Migration) removeWarmSnapshots(vm *plan.VMStatus) {
func (r *Migration) removeLastWarmSnapshot(vm *plan.VMStatus) {
if vm.Warm == nil {
return
}
Expand Down

0 comments on commit cc3ae35

Please sign in to comment.