Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
upils committed Oct 4, 2023
1 parent bcac752 commit 05e2237
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion internal/statemachine/classic_states.go
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,6 @@ func (stateMachine *StateMachine) makeQcow2Img() error {
// updateBootloader determines the bootloader for each volume
// and runs the correct helper function to update the bootloader
func (stateMachine *StateMachine) updateBootloader() error {
fmt.Printf("stateMachine.rootfsVolName: %s", stateMachine.rootfsVolName)
if stateMachine.rootfsPartNum == -1 || stateMachine.rootfsVolName == "" {
return fmt.Errorf("Error: could not determine partition number of the root filesystem")
}
Expand Down
3 changes: 0 additions & 3 deletions internal/statemachine/common_states.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ func (stateMachine *StateMachine) loadGadgetYaml() error {
// in various places
stateMachine.SectorSize, _ = quantity.ParseSize(stateMachine.commonFlags.SectorSize)

fmt.Printf("statemachine: %+v\n", stateMachine)
fmt.Printf("gadgetInfo.Volumes: %+v\n", stateMachine.GadgetInfo.Volumes)

return nil
}

Expand Down

0 comments on commit 05e2237

Please sign in to comment.