From cee36c6db378c380900fc7b901e2f7d0ea596cc0 Mon Sep 17 00:00:00 2001 From: Mateus Melchiades Date: Sat, 20 Jul 2024 11:51:29 -0300 Subject: [PATCH] fix: Remove SetLabel from namepart --- core/recipe.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/recipe.go b/core/recipe.go index 3cacff9e..ebddcb21 100644 --- a/core/recipe.go +++ b/core/recipe.go @@ -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)