terraform/command/format
Kristin Laemmert 3679de0630
command/format: fix repetitive "unchanged attribute hidden" message (#28589)
writeNestedAttrDiff and writeAttrDiff were both printing the "unchanged attribute" message.  This removes one of the redundant prints.

Fixing this led me (in a very roundabout way) to realize that NestedType attributes were printing a sum total of unchanged attributes, including those in entirely unchanged elements, while *not* printing the total of unchanged elements. I added the necessary logic to count and print the number of unchanged elements for maps and lists.
2021-05-04 10:23:50 -04:00
..
diagnostic.go "with" formatting 2021-04-06 15:50:30 -04:00
diagnostic_test.go command: no visual warning hierarchy in -no-color 2021-01-27 09:26:53 -08:00
diff.go command/format: fix repetitive "unchanged attribute hidden" message (#28589) 2021-05-04 10:23:50 -04:00
diff_test.go command/format: fix repetitive "unchanged attribute hidden" message (#28589) 2021-05-04 10:23:50 -04:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07:00
state.go Merge pull request #27081 from hashicorp/jbardin/staticcheck 2020-12-02 15:43:10 -05:00
state_test.go Mildwonkey/providers interface renaming (#27805) 2021-02-18 10:13:43 -05:00
trivia.go command/format: Don't try to fill the last terminal column 2021-01-13 15:37:04 -08:00