command/state-push: fix go vet
This commit is contained in:
parent
ee985a606c
commit
868230ee60
|
@ -80,7 +80,7 @@ func TestStatePush_replaceMatchStdin(t *testing.T) {
|
||||||
// Setup the replacement to come from stdin
|
// Setup the replacement to come from stdin
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
if err := terraform.WriteState(expected, &buf); err != nil {
|
if err := terraform.WriteState(expected, &buf); err != nil {
|
||||||
t.Fatalf("err: %s")
|
t.Fatalf("err: %s", err)
|
||||||
}
|
}
|
||||||
defer testStdinPipe(t, &buf)()
|
defer testStdinPipe(t, &buf)()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue