command: show tainted state properly
This commit is contained in:
parent
1d3e28d7ee
commit
9aa88e9a1c
|
@ -41,7 +41,7 @@ func FormatState(s *terraform.State, c *colorstring.Colorize) string {
|
|||
|
||||
taintStr := ""
|
||||
if s.Tainted != nil {
|
||||
if _, ok := s.Tainted[id]; ok {
|
||||
if _, ok := s.Tainted[k]; ok {
|
||||
taintStr = " (tainted)"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue