This commit is contained in:
Adrien Delorme 2020-03-17 12:05:37 +01:00
parent 3beea4fb94
commit 94a1f0bcb6
2 changed files with 6 additions and 2 deletions

View File

@ -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 {

View File

@ -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")