From e596770a5a4f67647fbf081e6e2a8a771d85dabc Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Wed, 24 Jun 2020 07:31:27 -0700 Subject: [PATCH] [master] golang format tools (#1338) Produced via: `gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)` `goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party | grep -v wire_gen.go)` /assign grantr lberk n3wscott /cc grantr lberk n3wscott --- kafka/source/pkg/apis/sources/v1alpha1/kafka_conversion.go | 3 ++- kafka/source/pkg/apis/sources/v1beta1/kafka_conversion.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kafka/source/pkg/apis/sources/v1alpha1/kafka_conversion.go b/kafka/source/pkg/apis/sources/v1alpha1/kafka_conversion.go index d6d8d6a5d6..53e29af63c 100644 --- a/kafka/source/pkg/apis/sources/v1alpha1/kafka_conversion.go +++ b/kafka/source/pkg/apis/sources/v1alpha1/kafka_conversion.go @@ -19,12 +19,13 @@ package v1alpha1 import ( "context" "fmt" + "reflect" + "knative.dev/eventing-contrib/kafka/source/pkg/apis/bindings/v1alpha1" bindingsv1beta1 "knative.dev/eventing-contrib/kafka/source/pkg/apis/bindings/v1beta1" "knative.dev/eventing-contrib/kafka/source/pkg/apis/sources/v1beta1" "knative.dev/pkg/apis" duckv1 "knative.dev/pkg/apis/duck/v1" - "reflect" ) // ConvertTo implements apis.Convertible. diff --git a/kafka/source/pkg/apis/sources/v1beta1/kafka_conversion.go b/kafka/source/pkg/apis/sources/v1beta1/kafka_conversion.go index 848e7c1c31..7f01a80608 100644 --- a/kafka/source/pkg/apis/sources/v1beta1/kafka_conversion.go +++ b/kafka/source/pkg/apis/sources/v1beta1/kafka_conversion.go @@ -19,6 +19,7 @@ package v1beta1 import ( "context" "fmt" + "knative.dev/pkg/apis" )