command: show tainted state properly

This commit is contained in:
Mitchell Hashimoto 2014-07-24 08:27:55 -07:00
parent 1d3e28d7ee
commit 9aa88e9a1c
1 changed files with 1 additions and 1 deletions

View File

@ -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)"
}
}