Upgrade to blang/semver/v4 v4.0.0

This is the first version to be fully go-mod-compatible.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt
2022-03-17 11:16:06 +01:00
parent 2cb3c7f706
commit 080c6c711e
52 changed files with 51 additions and 1248 deletions

View File

@@ -21,7 +21,7 @@ import (
"path/filepath"
"testing"
"github.com/blang/semver"
"github.com/blang/semver/v4"
)
var (

View File

@@ -37,7 +37,7 @@ import (
"testing"
"time"
"github.com/blang/semver"
"github.com/blang/semver/v4"
"k8s.io/klog/v2"
netutils "k8s.io/utils/net"
)

View File

@@ -21,7 +21,7 @@ import (
"os"
"time"
"github.com/blang/semver"
"github.com/blang/semver/v4"
"k8s.io/klog/v2"
)

View File

@@ -20,7 +20,7 @@ import (
"fmt"
"strings"
"github.com/blang/semver"
"github.com/blang/semver/v4"
)
// EtcdVersion specifies an etcd server binaries SemVer.

View File

@@ -19,7 +19,7 @@ package main
import (
"testing"
"github.com/blang/semver"
"github.com/blang/semver/v4"
)
func TestSerializeEtcdVersionPair(t *testing.T) {