Commit a25e0b6c authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

Merge pull request #1600 from technosophos/fix/document-errnotlist

fix(helm): fix doc string for ErrNotList
parents d84deb5b 2c326895
......@@ -26,6 +26,9 @@ import (
"github.com/ghodss/yaml"
)
// ErrNotList indicates that a non-list was treated as a list.
var ErrNotList = errors.New("not a list")
// ToYAML takes a string of arguments and converts to a YAML document.
func ToYAML(s string) (string, error) {
m, err := Parse(s)
......@@ -156,8 +159,6 @@ func (t *parser) val() ([]rune, error) {
return v, err
}
var ErrNotList = errors.New("not a list")
func (t *parser) valList() ([]interface{}, error) {
r, _, e := t.sc.ReadRune()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment