From 94a1f0bcb6792aa722a0884e37bd0882a9f4a8e2 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 17 Mar 2020 12:05:37 +0100 Subject: [PATCH] go fmt --- builder/vmware/common/driver_parser.go | 4 +++- command/build_parallel_test.go | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/builder/vmware/common/driver_parser.go b/builder/vmware/common/driver_parser.go index b464ffbc1..f7ea454d5 100644 --- a/builder/vmware/common/driver_parser.go +++ b/builder/vmware/common/driver_parser.go @@ -437,7 +437,9 @@ type pParameterClientMatch struct { data string } -func (e pParameterClientMatch) repr() string { return fmt.Sprintf("match-client:%s=%s", e.name, e.data) } +func (e pParameterClientMatch) repr() string { + return fmt.Sprintf("match-client:%s=%s", e.name, e.data) +} // range 127.0.0.1 127.0.0.255 type pParameterRange4 struct { diff --git a/command/build_parallel_test.go b/command/build_parallel_test.go index d4802de43..cf4e7b40a 100644 --- a/command/build_parallel_test.go +++ b/command/build_parallel_test.go @@ -47,7 +47,9 @@ type LockedBuilder struct{ unlock chan interface{} } func (b *LockedBuilder) ConfigSpec() hcldec.ObjectSpec { return nil } -func (b *LockedBuilder) Prepare(raws ...interface{}) ([]string, []string, error) { return nil, nil, nil } +func (b *LockedBuilder) Prepare(raws ...interface{}) ([]string, []string, error) { + return nil, nil, nil +} func (b *LockedBuilder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (packer.Artifact, error) { ui.Say("locking build")