Merge "Fix ListPhases to return not empty phase docs"
This commit is contained in:
commit
d4ea864eeb
@ -132,7 +132,7 @@ func (helper *Helper) ListPhases() ([]*v1alpha1.Phase, error) {
|
|||||||
if err = doc.ToAPIObject(p, v1alpha1.Scheme); err != nil {
|
if err = doc.ToAPIObject(p, v1alpha1.Scheme); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
phases = append(phases, phase)
|
phases = append(phases, p)
|
||||||
}
|
}
|
||||||
return phases, nil
|
return phases, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user