cloud66-oss / copper

A configuration file validator for Kubernetes.
https://help.cloud66.com/copper/
Apache License 2.0
274 stars 15 forks source link

interface {} is []interface {}, not []map[string]interface {} #17

Open eyalzek opened 5 years ago

eyalzek commented 5 years ago

If a validator doesn't find at least one violation, it'll result in an error: interface {} is []interface {}, not []map[string]interface {}

This can be reproduced easily by modifying the (sample)[https://github.com/cloud66-oss/copper/blob/2.0.0/samples/sample.yml] by either of the following: