-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
See #21.
I suspect this is happening here:
kubecrt/chartsconfig/parser.go
Lines 212 to 232 in aa3c0eb
| func errorLine(err error) (int, string) { | |
| var i int | |
| var p []string | |
| str := err.Error() | |
| println(str) | |
| if strings.HasPrefix(str, "yaml: ") { | |
| p = strings.SplitN(str, ":", 3) | |
| i, _ = strconv.Atoi(strings.Replace(p[1], " line ", "", -1)) | |
| str = strings.TrimSpace(p[2]) | |
| } | |
| if strings.HasPrefix(str, "template: test:") { | |
| p = strings.SplitN(str, ":", 4) | |
| i, _ = strconv.Atoi(p[2]) | |
| str = strings.TrimSpace(p[3]) | |
| } | |
| return i, "Templating error: " + str | |
| } |
Metadata
Metadata
Assignees
Labels
No labels