remove extra brackets in state string output
This commit is contained in:
parent
9c75cfd403
commit
a0f92f9d6a
|
@ -55,9 +55,7 @@ func (s *State) String() string {
|
||||||
buf.WriteByte('.')
|
buf.WriteByte('.')
|
||||||
buf.WriteString(step.Name)
|
buf.WriteString(step.Name)
|
||||||
if step.InstanceKey != addrs.NoKey {
|
if step.InstanceKey != addrs.NoKey {
|
||||||
buf.WriteByte('[')
|
|
||||||
buf.WriteString(step.InstanceKey.String())
|
buf.WriteString(step.InstanceKey.String())
|
||||||
buf.WriteByte(']')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
buf.WriteString(":\n")
|
buf.WriteString(":\n")
|
||||||
|
|
Loading…
Reference in New Issue