Skip to content

Commit

Permalink
recoverypartition.Delete(): fix typo and reword the error message
Browse files Browse the repository at this point in the history
Co-authored-by: Tor Arne Vestbø <[email protected]>
  • Loading branch information
edigaryev and torarnv authored Apr 4, 2024
1 parent e524e72 commit 74a1c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/tart/recoverypartition/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func Delete(diskImagePath string, ui packer.Ui, state multistep.StateBag) error

if recoveryPartitionIdx != -1 {
return fmt.Errorf("found a recovery partition at GPT entry %d, but there's another recovery "+
"partition exists at GPT antry %d, refusing to proceed", idx+1, recoveryPartitionIdx+1)
"partition at GPT entry %d, refusing to proceed", idx+1, recoveryPartitionIdx+1)
}

recoveryPartitionIdx = idx
Expand Down

0 comments on commit 74a1c6c

Please sign in to comment.