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 redundant replace directives #2703

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

mauri870
Copy link
Contributor

@mauri870 mauri870 commented Jun 17, 2024

The replace directives for the packages github.com/ajg/form and github.com/samalba/dockerclient are both redundant.

We can require github.com/cezarsa/form directly and bypass the replace.

gofmt -w -r '"github.com/ajg/form" -> "github.com/cezarsa/form"' .

The second replaced package does not seem to be in use according to go list -m all.

There is a hidden bonus that go install github.com/tsuru/tsuru/cmd/tsurud@latest
is now a thing.

For: tsuru/tsuru-client#226

The replace directives for the packages github.com/ajg/form and github.com/samalba/dockerclient are both redundant.

We can require github.com/cezarsa/form directly and bypass the replace.

	gofmt -w -r '"github.com/ajg/form" -> "github.com/cezarsa/form"' .

The second replaced package does not seem to be in use according to `go list
-m all`.

There is a hidden bonus that `go install github.com/tsuru/tsuru/cmd/tsurud@latest`
is now a thing.
@wpjunior wpjunior merged commit 718fa2c into tsuru:main Jun 25, 2024
14 checks passed
@wpjunior
Copy link
Member

Thanks @mauri870

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