Fix ListPhases to return not empty phase docs
Change-Id: I44dd36c41279b34357d6d86a92fc49bfca7b871b
This commit is contained in:
parent
27e0ab455c
commit
9f01c87648
@ -130,7 +130,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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user