container-structure-test icon indicating copy to clipboard operation
container-structure-test copied to clipboard

In v2.MetadataTest, `envVar` property is actually `env`

Open zephinzer opened this issue 6 years ago • 1 comments

According to the patterns for converting the listed properties into YAML properties from the README.md, it seems like the EnvVars should correspond to a property named envVars but it is actually env (checking from the code at https://github.com/GoogleContainerTools/container-structure-test/blob/master/pkg/types/v2/metadata.go#L26). Should it be renamed to envVars or should the docs be changed to env?

zephinzer avatar Aug 17 '19 10:08 zephinzer

Nice catch. I'll investigate.

donmccasland avatar Aug 21 '19 20:08 donmccasland