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

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

commit 2a238653a9b23b999a40519fddebc3f00b19349c
Author: nferraro <ni.ferr...@gmail.com>
AuthorDate: Mon Jan 7 13:06:35 2019 +0100

    Fix #237: add both knative eventing and serving apis to scheme
---
 ...e_serving_v1alpha1.go => addtoscheme_knative_eventing_v1alpha1.go} | 4 ++--
 ...me_serving_v1alpha1.go => addtoscheme_knative_serving_v1alpha1.go} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/apis/addtoscheme_serving_v1alpha1.go 
b/pkg/apis/addtoscheme_knative_eventing_v1alpha1.go
similarity index 53%
copy from pkg/apis/addtoscheme_serving_v1alpha1.go
copy to pkg/apis/addtoscheme_knative_eventing_v1alpha1.go
index 800bed1..9aa5d28 100644
--- a/pkg/apis/addtoscheme_serving_v1alpha1.go
+++ b/pkg/apis/addtoscheme_knative_eventing_v1alpha1.go
@@ -1,10 +1,10 @@
 package apis
 
 import (
-       serving "github.com/knative/serving/pkg/apis/serving/v1alpha1"
+       eventing "github.com/knative/eventing/pkg/apis/eventing/v1alpha1"
 )
 
 func init() {
        // Register the types with the Scheme so the components can map objects 
to GroupVersionKinds and back
-       AddToSchemes = append(AddToSchemes, serving.AddToScheme)
+       AddToSchemes = append(AddToSchemes, eventing.AddToScheme)
 }
diff --git a/pkg/apis/addtoscheme_serving_v1alpha1.go 
b/pkg/apis/addtoscheme_knative_serving_v1alpha1.go
similarity index 100%
rename from pkg/apis/addtoscheme_serving_v1alpha1.go
rename to pkg/apis/addtoscheme_knative_serving_v1alpha1.go

Reply via email to