mirror of https://github.com/pulumi/pulumi.git
78c7b7b072
<!---
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->
# Description
<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->
When the detailedDiff object is empty, i.e. `{}`, it is dropped from the
serialized json due to the `omitempty`. When it is rehydrated on the
service, it is rehydrated as `nil` because it is not present in the json
object. That causes [this
line](
|
||
---|---|---|
.. | ||
internal/terminal | ||
testdata | ||
diff.go | ||
diff_test.go | ||
display.go | ||
doc.go | ||
events.go | ||
events_test.go | ||
json.go | ||
jsonmessage.go | ||
object_diff.go | ||
object_diff_test.go | ||
options.go | ||
progress.go | ||
progress_test.go | ||
query.go | ||
rows.go | ||
sigint_unix.go | ||
sigint_windows.go | ||
tableutil.go | ||
tree.go | ||
tree_test.go | ||
watch.go |