fix formatting errors

This commit is contained in:
Erlend Graff 2017-11-05 15:16:47 +01:00
parent ae6987c74b
commit 27fc72c137
4 changed files with 14 additions and 14 deletions

View File

@ -121,17 +121,17 @@ type DriverMock struct {
CreateVirtualMachine_Generation uint
CreateVirtualMachine_Err error
CloneVirtualMachine_Called bool
CloneVirtualMachine_CloneFromVmxcPath string
CloneVirtualMachine_CloneFromVmName string
CloneVirtualMachine_CloneFromSnapshotName string
CloneVirtualMachine_CloneAllSnapshots bool
CloneVirtualMachine_VmName string
CloneVirtualMachine_Path string
CloneVirtualMachine_HarddrivePath string
CloneVirtualMachine_Ram int64
CloneVirtualMachine_SwitchName string
CloneVirtualMachine_Err error
CloneVirtualMachine_Called bool
CloneVirtualMachine_CloneFromVmxcPath string
CloneVirtualMachine_CloneFromVmName string
CloneVirtualMachine_CloneFromSnapshotName string
CloneVirtualMachine_CloneAllSnapshots bool
CloneVirtualMachine_VmName string
CloneVirtualMachine_Path string
CloneVirtualMachine_HarddrivePath string
CloneVirtualMachine_Ram int64
CloneVirtualMachine_SwitchName string
CloneVirtualMachine_Err error
DeleteVirtualMachine_Called bool
DeleteVirtualMachine_VmName string

View File

@ -514,6 +514,6 @@ func TestUserVariablesInBootCommand(t *testing.T) {
ret := step.Run(state)
if ret != multistep.ActionContinue {
t.Fatalf("should not have error: %s", ret)
t.Fatalf("should not have error: %s", ret)
}
}

View File

@ -97,7 +97,7 @@ type Config struct {
// Prepare processes the build configuration parameters.
func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
err := config.Decode(&b.config, &config.DecodeOpts{
Interpolate: true,
Interpolate: true,
InterpolateContext: &b.config.ctx,
InterpolateFilter: &interpolate.RenderFilter{
Exclude: []string{

View File

@ -535,6 +535,6 @@ func TestUserVariablesInBootCommand(t *testing.T) {
ret := step.Run(state)
if ret != multistep.ActionContinue {
t.Fatalf("should not have error: %s", ret)
t.Fatalf("should not have error: %s", ret)
}
}