Skip to content

Commit

Permalink
chore: Remove references to OpenShift deprecated build APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Oct 10, 2019
1 parent 45d5e3f commit 3b81f08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/builder/s2i/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 3b81f08

Please sign in to comment.