-
Notifications
You must be signed in to change notification settings - Fork 135
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
Changed UUID package #285
Changed UUID package #285
Conversation
Signed-off-by: Gaurav Gahlot <[email protected]>
Signed-off-by: Gaurav Gahlot <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #285 +/- ##
==========================================
- Coverage 20.61% 20.58% -0.04%
==========================================
Files 15 15
Lines 1363 1365 +2
==========================================
Hits 281 281
- Misses 1068 1070 +2
Partials 14 14
Continue to review full report at Codecov.
|
grpc-server/workflow.go
Outdated
@@ -33,7 +33,7 @@ func (s *server) CreateWorkflow(ctx context.Context, in *workflow.CreateRequest) | |||
msg := "" | |||
labels["op"] = "createworkflow" | |||
msg = "creating a new workflow" | |||
id := uuid.NewV4() | |||
id, _ := uuid.NewUUID() |
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.
Err has to be checked here
Signed-off-by: Gaurav Gahlot <[email protected]>
Description
The PR changes UUID package from
github.com/satori/go.uuid
toto github.com/google/uuid
.Why is this needed
The package
github.com/satori/go.uuid
is not actively maintained anymore and will eventually be marked as deprecated.References:
How Has This Been Tested?
CI and Tests pass.
How are existing users impacted? What migration steps/scripts do we need?
No impact.
Checklist:
I have: