Skip to content

Commit

Permalink
Fix ListPhases to return not empty phase docs
Browse files Browse the repository at this point in the history
Change-Id: I44dd36c41279b34357d6d86a92fc49bfca7b871b
  • Loading branch information
teoyaomiqui committed Sep 18, 2020
1 parent 27e0ab4 commit 9f01c87
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 @@ -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
}
Expand Down

0 comments on commit 9f01c87

Please sign in to comment.