diff --git a/camel/source/pkg/reconciler/camelsource_test.go b/camel/source/pkg/reconciler/camelsource_test.go index 8898003603..3a79d3af78 100644 --- a/camel/source/pkg/reconciler/camelsource_test.go +++ b/camel/source/pkg/reconciler/camelsource_test.go @@ -370,7 +370,7 @@ func makeContext(namespace string, image string) *camelv1alpha1.IntegrationKit { GenerateName: "ctx-", Namespace: namespace, Labels: map[string]string{ - "app": "camel-k", + "app": "camel-k", "camel.apache.org/kit.type": camelv1alpha1.IntegrationKitTypeExternal, }, }, diff --git a/camel/source/pkg/reconciler/resources/flow.go b/camel/source/pkg/reconciler/resources/flow.go index a31702e325..7e6aa18209 100644 --- a/camel/source/pkg/reconciler/resources/flow.go +++ b/camel/source/pkg/reconciler/resources/flow.go @@ -4,7 +4,7 @@ import ( "fmt" "reflect" - "gopkg.in/yaml.v2" + yaml "gopkg.in/yaml.v2" ) // AddSinkToCamelFlow adds the knative endpoint sink to a user-provided yaml flow diff --git a/camel/source/pkg/reconciler/resources/flow_test.go b/camel/source/pkg/reconciler/resources/flow_test.go index c935b23f78..99000c4c52 100644 --- a/camel/source/pkg/reconciler/resources/flow_test.go +++ b/camel/source/pkg/reconciler/resources/flow_test.go @@ -17,8 +17,9 @@ limitations under the License. package resources import ( - "github.com/google/go-cmp/cmp" "testing" + + "github.com/google/go-cmp/cmp" ) func TestCamelFlow(t *testing.T) {