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
This commit is contained in:
parent
8144c92dd0
commit
92704b693a
|
@ -190,7 +190,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
|
|||
fmt.Errorf("module_path[%d] is invalid: %s", i, err))
|
||||
} else if !info.IsDir() {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue