File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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.
135135func (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
You can’t perform that action at this time.
0 commit comments