Skip to content

Commit

Permalink
fix: Remove SetLabel from namepart
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme committed Jul 20, 2024
1 parent 9fb81a0 commit cee36c6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/recipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ func runSetupOperation(diskLabel, operation string, args []interface{}) error {
if !ok {
return operationError(operation, "%v is not a string", partNewName)
}
err = target.GetPartition(partNum).SetLabel(partNewName)
if err != nil {
return operationError(operation, err)
}
err = target.GetPartition(partNum).NamePartition(partNewName)
if err != nil {
return operationError(operation, err)
Expand Down

0 comments on commit cee36c6

Please sign in to comment.