Skip to content

UUID package improvements#792

Merged
stevvooe merged 3 commits intodistribution:masterfrom
stevvooe:uuid-package-improvements
Jul 31, 2015
Merged

UUID package improvements#792
stevvooe merged 3 commits intodistribution:masterfrom
stevvooe:uuid-package-improvements

Conversation

@stevvooe
Copy link
Collaborator

To avoid errant log messages, we've disabled logging by default when uuid is having trouble accessing /dev/urandom. This also takes the work from #786 and incorporates the feedback.

This carries #784 and #786.

cc @jfrazelle @tiborvass @ibuildthecloud

ibuildthecloud and others added 2 commits July 30, 2015 09:47
Fixes distribution#782

Signed-off-by: Darren Shepherd <darren@rancher.com>
Signed-off-by: Stephen J Day <stephen.day@docker.com>
uuid/uuid.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

no need for type, it will infer from value

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed.

@aaronlehmann
Copy link

Do we need a check on whether Loggerf is nil in Generate, before it is used?

@tiborvass
Copy link
Contributor

@aaronlehmann +1

@stevvooe
Copy link
Collaborator Author

@aaronlehmann No, because it is initialized.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
@stevvooe stevvooe force-pushed the uuid-package-improvements branch from 7159de6 to 2c9ab4f Compare July 30, 2015 21:27
@tiborvass
Copy link
Contributor

LGTM

@aaronlehmann
Copy link

Ah, missed the fact that Loggerf is initialized. LGTM.

stevvooe added a commit that referenced this pull request Jul 31, 2015
@stevvooe stevvooe merged commit ba5ab72 into distribution:master Jul 31, 2015
@stevvooe stevvooe deleted the uuid-package-improvements branch July 31, 2015 01:10
@stevvooe
Copy link
Collaborator Author

@tiborvass Are you going to update in docker/docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants