cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 37 forks source link

JSON and YAML tags don't agree for Digest field #105

Closed glyn closed 5 years ago

glyn commented 5 years ago

Here: https://github.com/deislabs/cnab-go/blob/de80204caf62eedc7aabd20ec93c47baa1c1c27a/bundle/bundle.go#L84

Looks like omitEmpty was accidentally omitted from the YAML tag.

glyn commented 5 years ago

Perhaps some YAML demarshalling tests need to be added?