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

Remove dependency on gofrs/uuid #5559

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

Lyndon-Li
Copy link
Contributor

Remove the unnecessary dependency on gofrs/uuid to reduce security risks

@Lyndon-Li Lyndon-Li self-assigned this Nov 7, 2022
@Lyndon-Li Lyndon-Li added the kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes label Nov 7, 2022
@github-actions github-actions bot added the Dependencies Pull requests that update a dependency file label Nov 7, 2022
@@ -22,7 +22,7 @@ import (
"strings"
"time"

uuid "github.com/gofrs/uuid"
uuid "github.com/google/uuid"
Copy link
Contributor

Choose a reason for hiding this comment

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

not quite sure why we need to rename this.
why not just make it
"github.com/google/uuid"
in the import chunk?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure the history, but IMO, we can rename it

Copy link
Contributor Author

@Lyndon-Li Lyndon-Li Nov 7, 2022

Choose a reason for hiding this comment

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

Done, removed it.

Signed-off-by: Lyndon-Li <[email protected]>
Copy link
Contributor

@reasonerjt reasonerjt left a comment

Choose a reason for hiding this comment

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

lgtm thanks

@Lyndon-Li Lyndon-Li merged commit 5c98e88 into vmware-tanzu:main Nov 7, 2022
@Lyndon-Li Lyndon-Li deleted the remove-gofrs-uuid branch November 7, 2022 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants