Merge "Fix ListPhases to return not empty phase docs"

This commit is contained in:
Zuul 2020-09-29 17:47:31 +00:00 committed by Gerrit Code Review
commit d4ea864eeb
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ func (helper *Helper) ListPhases() ([]*v1alpha1.Phase, error) {
if err = doc.ToAPIObject(p, v1alpha1.Scheme); err != nil {
return nil, err
}
phases = append(phases, phase)
phases = append(phases, p)
}
return phases, nil
}