Update kfns.go

This commit is contained in:
Jeff Regan
2020-11-16 21:38:25 -08:00
committed by GitHub
parent 97c18518ea
commit 606654756d

View File

@@ -60,7 +60,7 @@ func (s AnnotationSetter) Filter(rn *RNode) (*RNode, error) {
return rn.Pipe( return rn.Pipe(
PathGetter{ PathGetter{
Path: []string{MetadataField, AnnotationsField}, Path: []string{MetadataField, AnnotationsField},
Create: yaml.MappingNode}, Create: yaml.MappingNode},
FieldSetter{Name: s.Key, Value: v}) FieldSetter{Name: s.Key, Value: v})
} }