From a0f92f9d6a6f6fc541f4d8a722d7576d960367d7 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Thu, 9 Apr 2020 15:36:16 -0400 Subject: [PATCH] remove extra brackets in state string output --- states/state_string.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/states/state_string.go b/states/state_string.go index 1c326ece9..680acf7a4 100644 --- a/states/state_string.go +++ b/states/state_string.go @@ -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")