summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-25 21:55:56 +0100
committerGitHub <noreply@github.com>2021-01-25 21:55:56 +0100
commit63cef43f0cfae9bffc5d1dde321121f222cbfb6a (patch)
treed9251922241a13179924b8e9ac85447c421cd0df /vendor
parent23b879d72f9e2cf2b2d3924399605e0edebaa977 (diff)
parenta86d23c750d8605b356dc564ea60fa305ccee8e1 (diff)
downloadpodman-63cef43f0cfae9bffc5d1dde321121f222cbfb6a.tar.gz
podman-63cef43f0cfae9bffc5d1dde321121f222cbfb6a.tar.bz2
podman-63cef43f0cfae9bffc5d1dde321121f222cbfb6a.zip
Merge pull request #9081 from containers/dependabot/go_modules/github.com/google/uuid-1.2.0
Bump github.com/google/uuid from 1.1.5 to 1.2.0
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/google/uuid/version4.go8
-rw-r--r--vendor/modules.txt2
2 files changed, 9 insertions, 1 deletions
diff --git a/vendor/github.com/google/uuid/version4.go b/vendor/github.com/google/uuid/version4.go
index c110465db..86160fbd0 100644
--- a/vendor/github.com/google/uuid/version4.go
+++ b/vendor/github.com/google/uuid/version4.go
@@ -14,6 +14,14 @@ func New() UUID {
return Must(NewRandom())
}
+// NewString creates a new random UUID and returns it as a string or panics.
+// NewString is equivalent to the expression
+//
+// uuid.New().String()
+func NewString() string {
+ return Must(NewRandom()).String()
+}
+
// NewRandom returns a Random (Version 4) UUID.
//
// The strength of the UUIDs is based on the strength of the crypto/rand
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 79aca766d..397ab70be 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -319,7 +319,7 @@ github.com/golang/protobuf/ptypes/timestamp
github.com/google/gofuzz
# github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf
github.com/google/shlex
-# github.com/google/uuid v1.1.5
+# github.com/google/uuid v1.2.0
github.com/google/uuid
# github.com/gorilla/mux v1.8.0
github.com/gorilla/mux