diff --git a/command/hcl_printer.go b/command/hcl_printer.go index 3c547c505..1537fff14 100644 --- a/command/hcl_printer.go +++ b/command/hcl_printer.go @@ -12,7 +12,6 @@ import ( // This will only work operate on []interface{}, map[string]interface{}, and // primitive types. func encodeHCL(i interface{}) ([]byte, error) { - state := &encodeState{} err := state.encode(i) if err != nil { diff --git a/command/test-fixtures/push-tfvars/main.tf b/command/test-fixtures/push-tfvars/main.tf index c98389f28..528b6ed60 100644 --- a/command/test-fixtures/push-tfvars/main.tf +++ b/command/test-fixtures/push-tfvars/main.tf @@ -6,9 +6,9 @@ variable "baz" { type = "map" default = { - "A" = "a" - "B" = "b" - interp = "${file("t.txt")}" + "A" = "a" + "B" = "b" + interp = "${file("t.txt")}" } }