Open eyalzek opened 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 {}
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:
Deployment
latest
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:
Deployment
object entirely from the yamllatest
into any other string