command/format: revert indentation change for consistency's sake

This commit is contained in:
Kristin Laemmert 2018-10-10 11:22:09 -07:00 committed by Martin Atkins
parent db26324b3c
commit 3cf1b001c2
1 changed files with 2 additions and 2 deletions

View File

@ -146,9 +146,9 @@ func formatStateModule(
for name := range schema.Attributes { for name := range schema.Attributes {
attr := ctyGetAttrMaybeNull(val.Value, name) attr := ctyGetAttrMaybeNull(val.Value, name)
if !attr.IsNull() { if !attr.IsNull() {
p.buf.WriteString(fmt.Sprintf(" %s = ", name)) p.buf.WriteString(fmt.Sprintf(" %s = ", name))
attr := ctyGetAttrMaybeNull(val.Value, name) attr := ctyGetAttrMaybeNull(val.Value, name)
p.writeValue(attr, plans.NoOp, 2) p.writeValue(attr, plans.NoOp, 4)
p.buf.WriteString("\n") p.buf.WriteString("\n")
} }
} }