Skip to content

Commit a314957

Browse files
committed
Bump github.com/blang/semver to v4
1 parent 9903654 commit a314957

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+52
-61
lines changed

bootstrap/kubeadm/internal/controllers/kubeadmconfig_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"strconv"
2323
"time"
2424

25-
"github.com/blang/semver"
25+
"github.com/blang/semver/v4"
2626
"github.com/go-logr/logr"
2727
"github.com/pkg/errors"
2828
corev1 "k8s.io/api/core/v1"

bootstrap/kubeadm/types/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
package utils
1919

2020
import (
21-
"github.com/blang/semver"
21+
"github.com/blang/semver/v4"
2222
"github.com/pkg/errors"
2323
"k8s.io/apimachinery/pkg/runtime"
2424
"k8s.io/apimachinery/pkg/runtime/schema"

bootstrap/kubeadm/types/utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package utils
1919
import (
2020
"testing"
2121

22-
"github.com/blang/semver"
22+
"github.com/blang/semver/v4"
2323
"github.com/google/go-cmp/cmp"
2424
. "github.com/onsi/gomega"
2525
"k8s.io/apimachinery/pkg/runtime/schema"

cmd/clusterctl/api/v1alpha3/metadata_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1alpha3
1818

1919
import (
20-
"github.com/blang/semver"
20+
"github.com/blang/semver/v4"
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222
"k8s.io/apimachinery/pkg/util/version"
2323
)

cmd/clusterctl/client/cluster/cert_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
_ "embed"
2222
"time"
2323

24-
"github.com/blang/semver"
24+
"github.com/blang/semver/v4"
2525
"github.com/pkg/errors"
2626
corev1 "k8s.io/api/core/v1"
2727
apierrors "k8s.io/apimachinery/pkg/api/errors"

cmd/clusterctl/client/repository/repository_github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"strings"
2929
"time"
3030

31-
"github.com/blang/semver"
31+
"github.com/blang/semver/v4"
3232
"github.com/google/go-github/v53/github"
3333
"github.com/pkg/errors"
3434
"golang.org/x/oauth2"

cmd/clusterctl/cmd/version_checker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"time"
2727

2828
"github.com/adrg/xdg"
29-
"github.com/blang/semver"
29+
"github.com/blang/semver/v4"
3030
"github.com/google/go-github/v53/github"
3131
"github.com/pkg/errors"
3232
"golang.org/x/oauth2"

controlplane/kubeadm/api/v1beta1/kubeadm_control_plane_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222
"strings"
2323

24-
"github.com/blang/semver"
24+
"github.com/blang/semver/v4"
2525
"github.com/coredns/corefile-migration/migration"
2626
jsonpatch "github.com/evanphx/json-patch/v5"
2727
"github.com/pkg/errors"

controlplane/kubeadm/internal/controllers/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"strings"
2323
"time"
2424

25-
"github.com/blang/semver"
25+
"github.com/blang/semver/v4"
2626
"github.com/pkg/errors"
2727
corev1 "k8s.io/api/core/v1"
2828
apierrors "k8s.io/apimachinery/pkg/api/errors"

controlplane/kubeadm/internal/controllers/controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"testing"
2929
"time"
3030

31-
"github.com/blang/semver"
31+
"github.com/blang/semver/v4"
3232
. "github.com/onsi/gomega"
3333
appsv1 "k8s.io/api/apps/v1"
3434
corev1 "k8s.io/api/core/v1"

0 commit comments

Comments
 (0)