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

Tagging netgo to be used while compiling with cgo #134

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

olljanat
Copy link
Contributor

@olljanat olljanat commented Sep 6, 2022

Implements suggestion in longhorn/longhorn#4415 (comment) and disable CGO here too like it was done in longhorn-manager by longhorn/longhorn-manager#61

Looks that instance-manager needs CGO so switched to alternative solution proposed in longhorn/longhorn#1768 (comment)

@innobead innobead requested review from derekbit, a team and c3y1huang September 6, 2022 09:59
@olljanat olljanat changed the title Disable CGO when using go build Tagging netgo to be used while compiling with cgo Sep 6, 2022
scripts/build Outdated Show resolved Hide resolved
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
@olljanat
Copy link
Contributor Author

@innobead typo fixed, please check again.

@github-actions
Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the stale label Nov 11, 2022
@olljanat
Copy link
Contributor Author

PR is still valid

@innobead innobead removed the stale label Nov 11, 2022
@innobead
Copy link
Member

Because the instance manager has the proxy capability and it is actually the core of the data plane, we need this as well instead of longhorn-engine only. (probably we will reach out to the service in DNS from the instance manager)

Copy link
Member

@innobead innobead left a comment

Choose a reason for hiding this comment

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

Merge after QA verification.

cc @longhorn/qa @roger-ryao

@roger-ryao
Copy link

roger-ryao commented Nov 15, 2022

Merge after QA verification.

cc @longhorn/qa @roger-ryao

Hi @innobead

The test PASS, we could merge longhorn-instance-manager PR
cc @longhorn/qa

@innobead innobead merged commit 10962b7 into longhorn:master Nov 15, 2022
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.

3 participants