Commit 92704b69 authored by Emil Hessman's avatar Emil Hessman

provisioner/puppet-masterless: fix missing format argument

Fixes the following vet report:

provisioner/puppet-masterless/provisioner.go:196: missing argument for Errorf(%d): format reads arg 1, have only 0 args
parent 8144c92d
...@@ -190,7 +190,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error { ...@@ -190,7 +190,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
fmt.Errorf("module_path[%d] is invalid: %s", i, err)) fmt.Errorf("module_path[%d] is invalid: %s", i, err))
} else if !info.IsDir() { } else if !info.IsDir() {
errs = packer.MultiErrorAppend(errs, errs = packer.MultiErrorAppend(errs,
fmt.Errorf("module_path[%d] must point to a directory")) fmt.Errorf("module_path[%d] must point to a directory", i))
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment