This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch fix-format
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 747eac5b9a4a0cb09995bccbdc947936fc1154cd
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Nov 28 17:24:59 2018 +0100

    Make go-report happy again with gofmt
---
 cmd/kamel/main.go            | 2 +-
 pkg/metadata/dependencies.go | 2 +-
 pkg/metadata/types.go        | 2 +-
 pkg/metadata/uris.go         | 5 +++--
 pkg/trait/util.go            | 1 -
 pkg/util/knative/uri.go      | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cmd/kamel/main.go b/cmd/kamel/main.go
index 5f95ea9..e711d0d 100644
--- a/cmd/kamel/main.go
+++ b/cmd/kamel/main.go
@@ -25,7 +25,7 @@ import (
        "time"
 
        "github.com/apache/camel-k/pkg/client/cmd"
-       
+
        _ "github.com/apache/camel-k/pkg/util/knative"
        _ "github.com/apache/camel-k/pkg/util/openshift"
        _ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
diff --git a/pkg/metadata/dependencies.go b/pkg/metadata/dependencies.go
index 020b3b6..c2bcc83 100644
--- a/pkg/metadata/dependencies.go
+++ b/pkg/metadata/dependencies.go
@@ -27,7 +27,7 @@ import (
 )
 
 var (
-       additionalDependencies = map[string]string {
+       additionalDependencies = map[string]string{
                ".*JsonLibrary\\.Jackson.*": "camel:jackson",
        }
 )
diff --git a/pkg/metadata/types.go b/pkg/metadata/types.go
index 74ac309..de10bb1 100644
--- a/pkg/metadata/types.go
+++ b/pkg/metadata/types.go
@@ -24,7 +24,7 @@ type IntegrationMetadata struct {
        // All starting URIs of defined routes
        FromURIs []string
        // All end URIs of defined routes
-       ToURIs   []string
+       ToURIs []string
        // All inferred dependencies required to run the integration
        Dependencies []string
        // The language in which the integration is written
diff --git a/pkg/metadata/uris.go b/pkg/metadata/uris.go
index e9c17ab..2caddc2 100644
--- a/pkg/metadata/uris.go
+++ b/pkg/metadata/uris.go
@@ -18,8 +18,9 @@ limitations under the License.
 package metadata
 
 import (
-       "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
        "regexp"
+
+       "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
 )
 
 var (
@@ -97,4 +98,4 @@ func findAllDistinctStringSubmatch(data string, regexps 
...*regexp.Regexp) []str
                }
        }
        return candidates
-}
\ No newline at end of file
+}
diff --git a/pkg/trait/util.go b/pkg/trait/util.go
index c6194b8..bbbbb32 100644
--- a/pkg/trait/util.go
+++ b/pkg/trait/util.go
@@ -115,4 +115,3 @@ func CombineConfigurationAsSlice(configurationType string, 
context *v1alpha1.Int
 
        return keys
 }
-
diff --git a/pkg/util/knative/uri.go b/pkg/util/knative/uri.go
index f263454..0617e19 100644
--- a/pkg/util/knative/uri.go
+++ b/pkg/util/knative/uri.go
@@ -40,4 +40,4 @@ func ExtractChannelName(uri string) string {
                return match[1]
        }
        return ""
-}
\ No newline at end of file
+}

Reply via email to