lang: funcs: simplepoly: Fix copy pasta error
Print the actual result.
This commit is contained in:
@@ -590,7 +590,7 @@ func (obj *WrappedFunc) Stream() error {
|
||||
return errwrap.Wrapf(err, "simple poly function errored")
|
||||
}
|
||||
if obj.init.Debug {
|
||||
obj.init.Logf("Function returned with: %+v", values)
|
||||
obj.init.Logf("Function returned with: %+v", result)
|
||||
}
|
||||
|
||||
// TODO: do we want obj.result to be a pointer instead?
|
||||
|
||||
Reference in New Issue
Block a user