-
Notifications
You must be signed in to change notification settings - Fork 546
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Every branch of the following if-then-elseif
construction do the same (_, err = impl.dbConnection.Query(&appStoreWithVersion, query, queryParams...)
devtron/pkg/appStore/discover/repository/AppStoreApplicationVersionRepository.go
Lines 179 to 187 in fb1cbf5
if len(filter.ChartRepoId) > 0 && len(filter.RegistryId) > 0 { | |
_, err = impl.dbConnection.Query(&appStoreWithVersion, query, queryParams...) | |
} else if len(filter.RegistryId) > 0 { | |
_, err = impl.dbConnection.Query(&appStoreWithVersion, query, queryParams...) | |
} else if len(filter.ChartRepoId) > 0 { | |
_, err = impl.dbConnection.Query(&appStoreWithVersion, query, queryParams...) | |
} else { | |
_, err = impl.dbConnection.Query(&appStoreWithVersion, query, queryParams...) | |
} |
Found with revive
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers