This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push: new 3b81f08 chore: Remove references to OpenShift deprecated build APIs 3b81f08 is described below commit 3b81f0855651c89856222d8da62af9a075f2e7d3 Author: Antonin Stefanutti <anto...@stefanutti.fr> AuthorDate: Wed Oct 9 17:56:36 2019 +0200 chore: Remove references to OpenShift deprecated build APIs --- pkg/builder/s2i/publisher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/builder/s2i/publisher.go b/pkg/builder/s2i/publisher.go index 2deb73c..9eadd47 100644 --- a/pkg/builder/s2i/publisher.go +++ b/pkg/builder/s2i/publisher.go @@ -40,7 +40,7 @@ import ( func publisher(ctx *builder.Context) error { bc := buildv1.BuildConfig{ TypeMeta: metav1.TypeMeta{ - APIVersion: buildv1.SchemeGroupVersion.String(), + APIVersion: buildv1.GroupVersion.String(), Kind: "BuildConfig", }, ObjectMeta: metav1.ObjectMeta{ @@ -85,7 +85,7 @@ func publisher(ctx *builder.Context) error { is := imagev1.ImageStream{ TypeMeta: metav1.TypeMeta{ - APIVersion: imagev1.SchemeGroupVersion.String(), + APIVersion: imagev1.GroupVersion.String(), Kind: "ImageStream", }, ObjectMeta: metav1.ObjectMeta{