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 go module replace #221

Merged
merged 1 commit into from
Jan 2, 2024
Merged

Remove go module replace #221

merged 1 commit into from
Jan 2, 2024

Conversation

achichen
Copy link
Contributor

The two go module replacement was added long time ago and no longer needed. See the line comment for the explanation

@achichen achichen requested a review from a team as a code owner December 27, 2023 12:06
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7ff4208) 43.88% compared to head (1bc2af6) 43.88%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #221   +/-   ##
=======================================
  Coverage   43.88%   43.88%           
=======================================
  Files           6        6           
  Lines         319      319           
=======================================
  Hits          140      140           
  Misses        176      176           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -2,11 +2,6 @@ module github.com/carousell/Orion

go 1.17

replace (
git.apache.org/thrift.git => github.com/apache/thrift v0.12.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As git.apache.org/thrift.git is not even in direct or indirect dependency listed in this go.mod, it doesn't effectively affect the result of dependency resolution. The replace is no effect, can be safely removed.

@@ -2,11 +2,6 @@ module github.com/carousell/Orion

go 1.17

replace (
git.apache.org/thrift.git => github.com/apache/thrift v0.12.0
github.com/openzipkin-contrib/zipkin-go-opentracing => github.com/openzipkin-contrib/zipkin-go-opentracing v0.3.5
Copy link
Contributor Author

Choose a reason for hiding this comment

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

github.com/openzipkin-contrib/[email protected] is explicitly listed in this go.mod. no replace is needed to override the version

@achichen achichen merged commit 5e86532 into master Jan 2, 2024
5 checks passed
@achichen achichen deleted the remove-go-module-replace branch January 2, 2024 07:26
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