pkg/eval: Minor godoc edits.

This commit is contained in:
Qi Xiao 2020-09-04 22:10:47 +01:00
parent b986d80a49
commit 72d7c5c595

View File

@ -149,7 +149,8 @@ func (pe PipelineError) Error() string {
return b.String() return b.String()
} }
// MakePipelineError builds a suitable error from pipeline results: // MakePipelineError builds an error from the execution results of multiple
// commands in a pipeline.
// //
// If all elements are either nil or OK, it returns nil. If there is exactly // If all elements are either nil or OK, it returns nil. If there is exactly
// non-nil non-OK Exception, it returns it. Otherwise, it return a PipelineError // non-nil non-OK Exception, it returns it. Otherwise, it return a PipelineError