File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments