Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate use of github.com/satori/go.uuid for github.com/gofrs/uuid #659

Merged
merged 1 commit into from
Dec 26, 2018

Conversation

dgervais
Copy link
Contributor

@dgervais dgervais commented Dec 22, 2018

Gopkg.toml version of [email protected] did not include non-random uuid fix:
satori/go.uuid#73

also, deprecation notice for satori/go.uuid posted via issue:
satori/go.uuid#84

community recommended replacement is available at github.com/gofrs/uuid

  • updated Gopkg.toml to use github.com/gofrs/uuid @ 3.1.2
  • rebuilt Gopkg.lock
  • incorporate symmantics of uuid.NewV4() can return error

Signed-off-by: David Gervais [email protected]

Gopkg.toml version of [email protected] did not include non-random uuid fix:
satori/go.uuid#73

also, deprecation notice for satori/go.uuid posted via issue:
satori/go.uuid#84

community recommended replacement is available at github.com/gofrs/uuid

* updated Gopkg.toml to use github.com/gofrs/uuid @ 3.1.2
* rebuilt Gopkg.lock
* incorporate symmantics of uuid.NewV4() can return error

Signed-off-by: David Gervais <[email protected]>
Copy link
Member

@evan2645 evan2645 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for this @dgervais!

@@ -33,10 +33,14 @@ type subscribers struct {
}

func NewSubscriber(selectors Selectors) (*subscriber, error) {
u, err := uuid.NewV4()
if err != nil {
return nil, err
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh... for your amusement, I present you with 7e39858#diff-bc189db1d67c0b2efdefb255c26b6b3d

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh ... who says acyclic graphs never have loops ;-)

@evan2645 evan2645 merged commit 524d02c into spiffe:master Dec 26, 2018
@evan2645 evan2645 mentioned this pull request Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants