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:
Emil Hessman 2014-12-16 07:14:19 +01:00
parent 8144c92dd0
commit 92704b693a
1 changed files with 1 additions and 1 deletions

View File

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