fix #1005: fix findings
diff --git a/pkg/apis/camel/v1alpha1/integration_types.go b/pkg/apis/camel/v1alpha1/integration_types.go
index 3d8d488..3f3d775 100644
--- a/pkg/apis/camel/v1alpha1/integration_types.go
+++ b/pkg/apis/camel/v1alpha1/integration_types.go
@@ -109,7 +109,7 @@
Language Language `json:"language,omitempty"`
// Loader is an optional id of the org.apache.camel.k.RoutesLoader that will
// interpret this source at runtime
- Loader string `json:"loader,omitempty"`
+ Loader string `json:"loader,omitempty"`
}
// Language --
diff --git a/pkg/trait/dependencies_test.go b/pkg/trait/dependencies_test.go
index d92866a..fed00c9 100644
--- a/pkg/trait/dependencies_test.go
+++ b/pkg/trait/dependencies_test.go
@@ -22,7 +22,6 @@
"github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
"github.com/apache/camel-k/pkg/util/test"
-
"github.com/stretchr/testify/assert"
)
@@ -204,7 +203,7 @@
Content: "- from:\n uri: direct:foo\n steps:\n - to: log:bar",
},
Language: v1alpha1.LanguageYaml,
- Loader: "knative-source-yaml",
+ Loader: "knative-source-yaml",
},
},
},