Skip to content

Commit

Permalink
(*stepDiskFilePrepare).Run(): add a missing fallthrough statement (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev authored Apr 22, 2024
1 parent bbee976 commit 25732aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/tart/step_disk_file_prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func (s *stepDiskFilePrepare) Run(ctx context.Context, state multistep.StateBag)

switch config.RecoveryPartition {
case "":
fallthrough
case "delete":
if err := recoverypartition.Delete(diskImagePath, ui, state); err != nil {
ui.Error(fmt.Sprintf("Failed to delete the recovery partition: %v", err))
Expand Down

0 comments on commit 25732aa

Please sign in to comment.