cloud66-oss / copper

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

Set return code 1 if any segment fails. Fixes #9 #10

Closed jeffstephens closed 6 years ago

jeffstephens commented 6 years ago

This change will preserve the "failed" status internally so that any template failure results in a return code of 1. Previously, the failed variable was overwritten on each template run, so the return code only reflected the final template during validation.

khash commented 6 years ago

Thank you for spotting this and the fix!

jeffstephens commented 6 years ago

Thank you for the great tool!