mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
parent
e93608c859
commit
8beed4cd8d
@ -25,6 +25,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
goruntime "runtime"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
@ -2763,8 +2764,8 @@ func TestUpdateNewNodeStatus(t *testing.T) {
|
|||||||
BootID: "1b3",
|
BootID: "1b3",
|
||||||
KernelVersion: "3.16.0-0.bpo.4-amd64",
|
KernelVersion: "3.16.0-0.bpo.4-amd64",
|
||||||
OSImage: "Debian GNU/Linux 7 (wheezy)",
|
OSImage: "Debian GNU/Linux 7 (wheezy)",
|
||||||
OperatingSystem: "linux",
|
OperatingSystem: goruntime.GOOS,
|
||||||
Architecture: "amd64",
|
Architecture: goruntime.GOARCH,
|
||||||
ContainerRuntimeVersion: "test://1.5.0",
|
ContainerRuntimeVersion: "test://1.5.0",
|
||||||
KubeletVersion: version.Get().String(),
|
KubeletVersion: version.Get().String(),
|
||||||
KubeProxyVersion: version.Get().String(),
|
KubeProxyVersion: version.Get().String(),
|
||||||
@ -3010,8 +3011,8 @@ func TestUpdateExistingNodeStatus(t *testing.T) {
|
|||||||
BootID: "1b3",
|
BootID: "1b3",
|
||||||
KernelVersion: "3.16.0-0.bpo.4-amd64",
|
KernelVersion: "3.16.0-0.bpo.4-amd64",
|
||||||
OSImage: "Debian GNU/Linux 7 (wheezy)",
|
OSImage: "Debian GNU/Linux 7 (wheezy)",
|
||||||
OperatingSystem: "linux",
|
OperatingSystem: goruntime.GOOS,
|
||||||
Architecture: "amd64",
|
Architecture: goruntime.GOARCH,
|
||||||
ContainerRuntimeVersion: "test://1.5.0",
|
ContainerRuntimeVersion: "test://1.5.0",
|
||||||
KubeletVersion: version.Get().String(),
|
KubeletVersion: version.Get().String(),
|
||||||
KubeProxyVersion: version.Get().String(),
|
KubeProxyVersion: version.Get().String(),
|
||||||
@ -3294,8 +3295,8 @@ func TestUpdateNodeStatusWithRuntimeStateError(t *testing.T) {
|
|||||||
BootID: "1b3",
|
BootID: "1b3",
|
||||||
KernelVersion: "3.16.0-0.bpo.4-amd64",
|
KernelVersion: "3.16.0-0.bpo.4-amd64",
|
||||||
OSImage: "Debian GNU/Linux 7 (wheezy)",
|
OSImage: "Debian GNU/Linux 7 (wheezy)",
|
||||||
OperatingSystem: "linux",
|
OperatingSystem: goruntime.GOOS,
|
||||||
Architecture: "amd64",
|
Architecture: goruntime.GOARCH,
|
||||||
ContainerRuntimeVersion: "test://1.5.0",
|
ContainerRuntimeVersion: "test://1.5.0",
|
||||||
KubeletVersion: version.Get().String(),
|
KubeletVersion: version.Get().String(),
|
||||||
KubeProxyVersion: version.Get().String(),
|
KubeProxyVersion: version.Get().String(),
|
||||||
|
Loading…
Reference in New Issue
Block a user