Skip to content

Commit f6fd38d

Browse files
committed
fix: typo err for GetConditions comment
1 parent 1bc9adb commit f6fd38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/apis/application/v1alpha1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ func findConditionIndexByType(conditions []ApplicationCondition, t ApplicationCo
33573357
return -1
33583358
}
33593359

3360-
// GetErrorConditions returns list of application error conditions
3360+
// GetConditions returns list of application error conditions
33613361
func (status *ApplicationStatus) GetConditions(conditionTypes map[ApplicationConditionType]bool) []ApplicationCondition {
33623362
result := make([]ApplicationCondition, 0)
33633363
for i := range status.Conditions {

0 commit comments

Comments
 (0)