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

Fix Go-based subctl install docs #622

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

dfarrell07
Copy link
Member

@dfarrell07 dfarrell07 commented Dec 7, 2021

Because we have replace statements in submariner-operator/go.mod to
pin the K8s version, when run from outside of the submariner-operator
repo go install declines to build subctl with:

The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.

This issue is described upstream here:

golang/go#44840 (comment)

Signed-off-by: Daniel Farrell [email protected]

Because we have `replace` statements in `submariner-operator/go.mod` to
pin the K8s version, when run from outside of the submariner-operator
repo `go install` declines to build `subctl` with:

The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.

This issue is described upstream here:

golang/go#44840 (comment)

Signed-off-by: Daniel Farrell <[email protected]>
@submariner-bot
Copy link

🤖 Created branch: z_pr622/dfarrell07/subctl_go_install

@netlify
Copy link

netlify bot commented Dec 7, 2021

✔️ Deploy Preview for elated-bell-2913d9 ready!

🔨 Explore the source changes: 6dc2b11

🔍 Inspect the deploy log: https://app.netlify.com/sites/elated-bell-2913d9/deploys/61aea705492dfe00076025a6

😎 Browse the preview: https://deploy-preview-622--elated-bell-2913d9.netlify.app

@dfarrell07 dfarrell07 marked this pull request as ready for review December 7, 2021 00:14
@tpantelis tpantelis merged commit f1342c6 into submariner-io:devel Dec 7, 2021
@submariner-bot
Copy link

🤖 Closed branches: [z_pr622/dfarrell07/subctl_go_install]

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.

4 participants