code review

This commit is contained in:
Donny Xia
2020-08-07 11:12:40 -07:00
parent 868a226e4e
commit 669ae59982

View File

@@ -467,7 +467,6 @@ func (s FieldSetter) Filter(rn *RNode) (*RNode, error) {
if err := ErrorIfInvalid(rn, yaml.ScalarNode); err != nil {
return rn, err
}
// value is nil or null
if IsMissingOrNull(s.Value) {
return rn, nil
}