diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-07 05:34:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 05:34:08 -0500 |
commit | 68c9e02df72cbdfb2d239fb1de020bc1e0dabad3 (patch) | |
tree | 61fab0a1c2faed54c9432d4947baf54d34ce6c9f /vendor/github.com | |
parent | 355e387692b15b151d65e58b580581382eee7f62 (diff) | |
parent | bfbd915d625802ef2187e14d00acf13ea27502d7 (diff) | |
download | podman-68c9e02df72cbdfb2d239fb1de020bc1e0dabad3.tar.gz podman-68c9e02df72cbdfb2d239fb1de020bc1e0dabad3.tar.bz2 podman-68c9e02df72cbdfb2d239fb1de020bc1e0dabad3.zip |
Merge pull request #8884 from containers/dependabot/go_modules/github.com/google/uuid-1.1.4
Bump github.com/google/uuid from 1.1.3 to 1.1.4
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/google/uuid/uuid.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/google/uuid/uuid.go b/vendor/github.com/google/uuid/uuid.go index daf3639c1..60d26bb50 100644 --- a/vendor/github.com/google/uuid/uuid.go +++ b/vendor/github.com/google/uuid/uuid.go @@ -37,7 +37,7 @@ var rander = rand.Reader // random function type invalidLengthError struct{ len int } -func (err *invalidLengthError) Error() string { +func (err invalidLengthError) Error() string { return fmt.Sprintf("invalid UUID length: %d", err.len) } @@ -74,7 +74,7 @@ func Parse(s string) (UUID, error) { } return uuid, nil default: - return uuid, &invalidLengthError{len(s)} + return uuid, invalidLengthError{len(s)} } // s is now at least 36 bytes long // it must be of the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx @@ -118,7 +118,7 @@ func ParseBytes(b []byte) (UUID, error) { } return uuid, nil default: - return uuid, &invalidLengthError{len(b)} + return uuid, invalidLengthError{len(b)} } // s is now at least 36 bytes long // it must be of the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |