kubevalidator icon indicating copy to clipboard operation
kubevalidator copied to clipboard

Line numbers

Open jnewland opened this issue 5 years ago • 0 comments

Annotations are currently placed on line 1 of each file when they should ideally be placed on or near the line that caused the validation failure. Failures have information about the field that caused the error, which will useful in the course of finding that line number.

Unfortunately, https://github.com/go-yaml/yaml/issues/108.

Possible approaches:

  • https://godoc.org/gopkg.in/yaml.v3 / https://blog.ubuntu.com/2019/04/05/api-v3-of-the-yaml-package-for-go-is-available

jnewland avatar Aug 06 '18 12:08 jnewland