Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Fix gnmi dep with Makefile workaround #65

Closed

Conversation

seiferteric
Copy link
Contributor

Fixing build issue related to openconfig/gnmi library version. For some reason go.mod keeps changing, even though it is expected to be locked. Hard coding the version in the Makefile seems to fix the issue.

@@ -32,6 +32,7 @@ go.mod:
$(GO_DEPS): go.mod $(PATCHES)
# FIXME temporary workaround for crypto not downloading..
$(GO) get golang.org/x/crypto/ssh/terminal@e9b2fee46413
$(GO) get github.com/openconfig/gnmi@v0.0.0-20200617225440-d2b4e6a45802
Copy link
Contributor

Choose a reason for hiding this comment

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

Fix has been already submitted #64

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @pra-moh . I will close. I still need to understand why the go.mod file changes at all. It is supposed to be like a lock file I though, but somehow in the build process it changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants