Skip to content

Commit

Permalink
Merge "Fix ListPhases to return not empty phase docs"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 29, 2020
2 parents 92ffcb6 + 9f01c87 commit d4ea864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/phase/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d4ea864

Please sign in to comment.