Skip to content

Commit a210ad3

Browse files
committed
fix rebasing conflicts
1 parent eb1127a commit a210ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/conditions/updater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (c *conditionUpdater) RemoveCondition(conType string) *conditionUpdater {
133133
// The conditions are returned sorted by their type.
134134
// The second return value indicates whether the condition list has actually changed.
135135
func (c *conditionUpdater) Conditions() ([]metav1.Condition, bool) {
136-
res := collections.ProjectSlice(c.updatedConditions(), func(con metav1.Condition) metav1.Condition {
136+
res := collections.ProjectSliceToSlice(c.updatedConditions(), func(con metav1.Condition) metav1.Condition {
137137
if c.original[con.Type].Status == con.Status {
138138
// if the status has not changed, reset the LastTransitionTime to the original value
139139
con.LastTransitionTime = c.original[con.Type].LastTransitionTime

0 commit comments

Comments
 (0)