Use correct formatting for printf
This commit is contained in:
parent
54733323a8
commit
9f94834826
|
@ -42,7 +42,7 @@ func (s *StepMountSecondaryDvdImages) Run(state multistep.StateBag) multistep.St
|
|||
return multistep.ActionHalt
|
||||
}
|
||||
|
||||
log.Println(fmt.Sprintf("Saving DVD properties %s DVDs", len(dvdProperties)))
|
||||
log.Println(fmt.Sprintf("Saving DVD properties %d DVDs", len(dvdProperties)))
|
||||
|
||||
state.Put("secondary.dvd.properties", dvdProperties)
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ func (s *StepUnmountSecondaryDvdImages) Run(state multistep.StateBag) multistep.
|
|||
|
||||
dvdProperties := state.Get("secondary.dvd.properties").([]DvdControllerProperties)
|
||||
|
||||
log.Println(fmt.Sprintf("Found DVD properties %s", len(dvdProperties)))
|
||||
log.Println(fmt.Sprintf("Found DVD properties %d", len(dvdProperties)))
|
||||
|
||||
for _, dvdProperty := range dvdProperties {
|
||||
controllerNumber := dvdProperty.ControllerNumber
|
||||
|
|
Loading…
Reference in New Issue