config/reader/json: remove unused newValue()

This commit is contained in:
Lars Lehtonen 2020-01-28 11:38:55 -08:00
parent 74762edc42
commit 895aa896bc
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2

View File

@ -30,13 +30,6 @@ func newValues(ch *source.ChangeSet) (reader.Values, error) {
return &jsonValues{ch, sj}, nil
}
func newValue(s *simple.Json) reader.Value {
if s == nil {
s = simple.New()
}
return &jsonValue{s}
}
func (j *jsonValues) Get(path ...string) reader.Value {
return &jsonValue{j.sj.GetPath(path...)}
}