Skip to content

Commit b06314b

Browse files
committed
go fmt
1 parent 4f765e6 commit b06314b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

step_create_template.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func (s *stepCreateTemplate) Run(state multistep.StateBag) multistep.StepAction
1717
c := state.Get("config").(config)
1818
vmid := state.Get("virtual_machine_id").(string)
1919
osId := c.TemplateOSId
20-
20+
2121
ui.Say(fmt.Sprintf("Creating template: %v", c.TemplateName))
2222

2323
if osId == "" {
@@ -28,8 +28,8 @@ func (s *stepCreateTemplate) Run(state multistep.StateBag) multistep.StepAction
2828
state.Put("error", err)
2929
ui.Error(err.Error())
3030
return multistep.ActionHalt
31-
}
32-
31+
}
32+
3333
// Check if the guest OS id is defined - if so, use that
3434
vmOsId := listVmResponse.Listvirtualmachinesresponse.Virtualmachine[0].Guestosid
3535

@@ -48,7 +48,7 @@ func (s *stepCreateTemplate) Run(state multistep.StateBag) multistep.StepAction
4848
state.Put("error", err)
4949
ui.Error(err.Error())
5050
return multistep.ActionHalt
51-
}
51+
}
5252

5353
// always use the first volume when creating a template
5454
volumeId := response.Listvolumesresponse.Volume[0].ID

0 commit comments

Comments
 (0)