chore(release): fix code style
@@ -42,19 +42,6 @@ func DefaultCatalog() (*RuntimeCatalog, error) {
// QuarkusCatalog --
func QuarkusCatalog() (*RuntimeCatalog, error) {
- catalogs := make([]v1alpha1.CamelCatalog, 0)
-
- for name, content := range deploy.Resources {
- if strings.HasPrefix(name, "camel-catalog-") {
- var c v1alpha1.CamelCatalog
- if err := yaml2.Unmarshal([]byte(content), &c); err != nil {
- return nil, err
- }
-
- catalogs = append(catalogs, c)
- }
- }
-
return catalogForRuntimeProvider(v1alpha1.QuarkusRuntimeProvider{
CamelQuarkusVersion: defaults.CamelQuarkusVersionConstraint,
QuarkusVersion: defaults.DefaultQuarkusVersion,
