mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
gofmt
This commit is contained in:
parent
e6e8615db3
commit
8851a42655
@ -150,9 +150,9 @@ func TestConvertCPUValue(t *testing.T) {
|
|||||||
|
|
||||||
func TestGetCPUUsageNanoCores(t *testing.T) {
|
func TestGetCPUUsageNanoCores(t *testing.T) {
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
latestValue uint64
|
latestValue uint64
|
||||||
previousValue uint64
|
previousValue uint64
|
||||||
expected uint64
|
expected uint64
|
||||||
}{
|
}{
|
||||||
{latestValue: uint64(0), previousValue: uint64(0), expected: uint64(0)},
|
{latestValue: uint64(0), previousValue: uint64(0), expected: uint64(0)},
|
||||||
{latestValue: uint64(2000000000), previousValue: uint64(0), expected: uint64(200000000)},
|
{latestValue: uint64(2000000000), previousValue: uint64(0), expected: uint64(200000000)},
|
||||||
|
Loading…
Reference in New Issue
Block a user