Skip to content

Commit

Permalink
Merge pull request #83 from rawlingsj/master
Browse files Browse the repository at this point in the history
fix: api version for clients
  • Loading branch information
jenkins-x-bot authored Nov 26, 2020
2 parents 011a8b4 + f5344cd commit a66332d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/core/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/core/v4beta1/register.go
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 {
Expand Down

0 comments on commit a66332d

Please sign in to comment.