Skip to content

Commit b01ac96

Browse files
authored
Merge pull request kubernetes#84770 from mikedanese/uuid
remove github.com/pborman/uuid
2 parents a9fb448 + f0d45ee commit b01ac96

File tree

53 files changed

+51
-856
lines changed

Some content is hidden

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

53 files changed

+51
-856
lines changed

Godeps/LICENSES

Lines changed: 0 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ require (
6767
github.com/google/cadvisor v0.34.0
6868
github.com/google/go-cmp v0.3.0
6969
github.com/google/gofuzz v1.0.0
70+
github.com/google/uuid v1.1.1
7071
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d
7172
github.com/gorilla/context v1.1.1 // indirect
7273
github.com/gorilla/mux v1.7.0 // indirect
@@ -96,7 +97,6 @@ require (
9697
github.com/opencontainers/runc v1.0.0-rc9
9798
github.com/opencontainers/runtime-spec v1.0.0 // indirect
9899
github.com/opencontainers/selinux v1.3.1-0.20190929122143-5215b1806f52
99-
github.com/pborman/uuid v1.2.0
100100
github.com/pkg/errors v0.8.0
101101
github.com/pmezard/go-difflib v1.0.0
102102
github.com/pquerna/ffjson v0.0.0-20180717144149-af8b230fcd20 // indirect
@@ -367,7 +367,6 @@ replace (
367367
github.com/opencontainers/runc => github.com/opencontainers/runc v1.0.0-rc9
368368
github.com/opencontainers/runtime-spec => github.com/opencontainers/runtime-spec v1.0.0
369369
github.com/opencontainers/selinux => github.com/opencontainers/selinux v1.3.1-0.20190929122143-5215b1806f52
370-
github.com/pborman/uuid => github.com/pborman/uuid v1.2.0
371370
github.com/pelletier/go-toml => github.com/pelletier/go-toml v1.2.0
372371
github.com/peterbourgon/diskv => github.com/peterbourgon/diskv v2.0.1+incompatible
373372
github.com/pkg/errors => github.com/pkg/errors v0.8.0

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ github.com/opencontainers/runtime-spec v1.0.0 h1:O6L965K88AilqnxeYPks/75HLpp4IG+
351351
github.com/opencontainers/runtime-spec v1.0.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
352352
github.com/opencontainers/selinux v1.3.1-0.20190929122143-5215b1806f52 h1:B8hYj3NxHmjsC3T+tnlZ1UhInqUgnyF1zlGPmzNg2Qk=
353353
github.com/opencontainers/selinux v1.3.1-0.20190929122143-5215b1806f52/go.mod h1:+BLncwf63G4dgOzykXAxcmnFlUaOlkDdmw/CqsW6pjs=
354-
github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=
355-
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
356354
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
357355
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
358356
github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI=

pkg/volume/quobyte/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ go_library(
2323
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
2424
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
2525
"//staging/src/k8s.io/cloud-provider/volume/helpers:go_default_library",
26-
"//vendor/github.com/pborman/uuid:go_default_library",
26+
"//vendor/github.com/google/uuid:go_default_library",
2727
"//vendor/github.com/quobyte/api:go_default_library",
2828
"//vendor/k8s.io/klog:go_default_library",
2929
"//vendor/k8s.io/utils/strings:go_default_library",

pkg/volume/quobyte/quobyte.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"path/filepath"
2323
gostrings "strings"
2424

25-
"github.com/pborman/uuid"
25+
"github.com/google/uuid"
2626
"k8s.io/api/core/v1"
2727
"k8s.io/apimachinery/pkg/api/resource"
2828
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -408,7 +408,7 @@ func (provisioner *quobyteVolumeProvisioner) Provision(selectedNode *v1.Node, al
408408
}
409409

410410
// create random image name
411-
provisioner.volume = fmt.Sprintf("kubernetes-dynamic-pvc-%s", uuid.NewUUID())
411+
provisioner.volume = fmt.Sprintf("kubernetes-dynamic-pvc-%s", uuid.New().String())
412412

413413
manager := &quobyteVolumeManager{
414414
config: cfg,

staging/src/k8s.io/apiextensions-apiserver/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ require (
1313
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d
1414
github.com/google/go-cmp v0.3.0
1515
github.com/google/gofuzz v1.0.0
16+
github.com/google/uuid v1.1.1
1617
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d
17-
github.com/pborman/uuid v1.2.0
1818
github.com/spf13/cobra v0.0.5
1919
github.com/spf13/pflag v1.0.3
2020
github.com/stretchr/testify v1.3.0

staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ go_library(
3131
"//staging/src/k8s.io/client-go/rest:go_default_library",
3232
"//staging/src/k8s.io/client-go/restmapper:go_default_library",
3333
"//staging/src/k8s.io/client-go/scale:go_default_library",
34-
"//vendor/github.com/pborman/uuid:go_default_library",
34+
"//vendor/github.com/google/uuid:go_default_library",
3535
"//vendor/k8s.io/utils/pointer:go_default_library",
3636
],
3737
)

staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"os"
2222
"strings"
2323

24-
"github.com/pborman/uuid"
24+
"github.com/google/uuid"
2525
"k8s.io/apiextensions-apiserver/pkg/cmd/server/options"
2626

2727
"k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
@@ -59,7 +59,7 @@ users:
5959
fakeKubeConfig.Close()
6060

6161
s, err := servertesting.StartTestServer(t, nil, append([]string{
62-
"--etcd-prefix", uuid.New(),
62+
"--etcd-prefix", uuid.New().String(),
6363
"--etcd-servers", strings.Join(IntegrationEtcdServers(), ","),
6464
"--authentication-skip-lookup",
6565
"--authentication-kubeconfig", fakeKubeConfig.Name(),

staging/src/k8s.io/apiserver/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ require (
1919
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d
2020
github.com/google/go-cmp v0.3.0
2121
github.com/google/gofuzz v1.0.0
22+
github.com/google/uuid v1.1.1
2223
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d
2324
github.com/gorilla/websocket v1.4.0 // indirect
2425
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
2526
github.com/hashicorp/golang-lru v0.5.1
2627
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
27-
github.com/pborman/uuid v1.2.0
2828
github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021 // indirect
2929
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
3030
github.com/sirupsen/logrus v1.4.2 // indirect

staging/src/k8s.io/apiserver/go.sum

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)