remove extra brackets in state string output

This commit is contained in:
James Bardin 2020-04-09 15:36:16 -04:00
parent 9c75cfd403
commit a0f92f9d6a
1 changed files with 0 additions and 2 deletions

View File

@ -55,9 +55,7 @@ func (s *State) String() string {
buf.WriteByte('.')
buf.WriteString(step.Name)
if step.InstanceKey != addrs.NoKey {
buf.WriteByte('[')
buf.WriteString(step.InstanceKey.String())
buf.WriteByte(']')
}
}
buf.WriteString(":\n")