post-processor/vagrant: address vet report
Fixes the following vet report: post-processor/vagrant/post-processor_test.go:135: possible formatting directive in Fatal call
This commit is contained in:
parent
d9abb5458b
commit
9c31822a2b
|
@ -132,7 +132,7 @@ func TestPostProcessorPrepare_vagrantfileTemplateExists(t *testing.T) {
|
||||||
c["vagrantfile_template"] = name
|
c["vagrantfile_template"] = name
|
||||||
|
|
||||||
if err := f.Close(); err != nil {
|
if err := f.Close(); err != nil {
|
||||||
t.Fatal("err: %s", err)
|
t.Fatalf("err: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := os.Remove(name); err != nil {
|
if err := os.Remove(name); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue