mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-20 15:01:40 -04:00
backport of commit 0f0c059631
This commit is contained in:
@@ -214,9 +214,6 @@ func (pc *PipeChecker) SetStream(s Stream) *PipeChecker {
|
||||
}
|
||||
|
||||
func (pc PipeChecker) Check(stdout, stderr string, _ error) error {
|
||||
if len(pc.pipers) == 0 {
|
||||
return fmt.Errorf("%s - empty pipeline", pc.Name())
|
||||
}
|
||||
if pc.check == nil {
|
||||
return fmt.Errorf("%s - missing tester", pc.Name())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user