make result public in function filter

This commit is contained in:
Donny Xia
2021-05-06 09:45:11 -07:00
parent e905411207
commit 4f760a0850
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ type FunctionFilter struct {
DeferFailure bool
// results saves the results emitted from Run
results *yaml.RNode
Results *yaml.RNode
// exit saves the error returned from Run
exit error
@@ -250,7 +250,7 @@ func (c *FunctionFilter) doResults(r *kio.ByteReader) error {
}
if r.Results != nil {
c.results = r.Results
c.Results = r.Results
}
return nil
}