opentofu/command/format
Martin Atkins 6adcc7ab73 vendor: go get github.com/zclconf/go-cty@master
cty now guarantees that sets of primitive values will iterate in a
reasonable order. Previously it was the caller's responsibility to deal
with that, but we invariably neglected to do so, causing inconsistent
ordering. Since cty prioritizes consistent behavior over performance, it
now imposes its own sort on set elements as part of iterating over them so
that calling applications don't have to worry so much about it.

This change also causes cty to consistently push unknown and null values
in sets to the end of iteration, where before that was undefined. This
means that our diff output will now consistently list additions before
removals when showing sets, rather than the ordering being undefined as
before.

The ordering of known, non-null, non-primitive values is still not
contractually fixed but remains consistent for a particular version of
cty.
2019-04-30 15:49:28 -07:00
..
diagnostic.go command/format: improve "source" of error messages regarding missing arguments (#20907) 2019-04-03 14:04:59 -04:00
diff_test.go vendor: go get github.com/zclconf/go-cty@master 2019-04-30 15:49:28 -07:00
diff.go command/format: take noop changes from lcs 2019-04-27 11:28:02 -04:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id_test.go Updates after running make fmt with Go v1.11.1 2018-10-17 14:11:08 -07:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
plan.go backend/local: Render CBD replacement (+/-) correctly (#19642) 2018-12-14 13:45:47 +00:00
state_test.go command/format: fix an issue where data resources were not displaying (#20386) 2019-02-19 14:18:47 -08:00
state.go command/format: fix an issue where data resources were not displaying (#20386) 2019-02-19 14:18:47 -08:00