Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
golang format tools (#509)
Browse files Browse the repository at this point in the history
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
/assign @n3wscott
  • Loading branch information
mattmoor-sockpuppet authored and knative-prow-robot committed Aug 6, 2019
1 parent 0edfcf0 commit 1f39261
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion camel/source/pkg/reconciler/camelsource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down
2 changes: 1 addition & 1 deletion camel/source/pkg/reconciler/resources/flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion camel/source/pkg/reconciler/resources/flow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1f39261

Please sign in to comment.