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
moving random.go from utils #11017
moving random.go from utils #11017
Conversation
@crosbymichael I have moved random into pkg/common as I feel the code belongs there. Please let me know if you would want to refactor differently. |
} | ||
} | ||
|
||
func TestGenerateID(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be TestGenerateRandomID
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahmetalpbalkan Fixed.
This package is turning into a |
Closes moby#10962 Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
58b03e2
to
53ece33
Compare
I am not sure if we should address the concern here. Please keep the scope of this to moving out of Utils. We can open a new issue on how Random generation of IDs work. |
@brahmaroutu You're right it's out of scope for this PR. Thanks. LGTM (not a maintainer) |
LGTM |
Addresses #10962
Signed-off-by: Srini Brahmaroutu srbrahma@us.ibm.com