diff --git a/pkg/apis/core/register.go b/pkg/apis/core/register.go index 8e7a9fe..1721113 100644 --- a/pkg/apis/core/register.go +++ b/pkg/apis/core/register.go @@ -4,7 +4,7 @@ const ( // GroupName is the Jenkins API group name GroupName = "core.jenkins-x.io" // Version is the Jenkins API group version - Version = "v4" + Version = "v4beta1" // GroupAndVersion is the Jenkins API Group and version GroupAndVersion = GroupName + "/" + Version diff --git a/pkg/apis/core/v4beta1/register.go b/pkg/apis/core/v4beta1/register.go index 8c05741..054c8a8 100644 --- a/pkg/apis/core/v4beta1/register.go +++ b/pkg/apis/core/v4beta1/register.go @@ -1,7 +1,7 @@ package v4beta1 import ( - jenkinsio "github.com/jenkins-x/jx-api/v3/pkg/apis/jenkins.io" + "github.com/jenkins-x/jx-api/v4/pkg/apis/core" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/types" @@ -10,7 +10,7 @@ import ( ) // SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: jenkinsio.GroupName, Version: jenkinsio.Version} +var SchemeGroupVersion = schema.GroupVersion{Group: core.GroupName, Version: core.Version} // Kind takes an unqualified kind and returns back a Group qualified GroupKind func Kind(kind string) schema.GroupKind {