You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use main branch of vault as dependecy since it has the fix which is needed for Go 1.17 and that's when I found a new problem. When running go mod vendor Go will now try to copy also all files described with //go:embed directive. Since those files are not part of the vaults git repo vault cannot be vendored.
To Reproduce
$ go get -d github.com/hashicorp/vault@main
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
$ go mod vendor
go mod vendor: pattern web_ui/*: no matching files found
Expected behavior
Running go mod vendor should work with vault as dependecy.
As this is not a HashiCorp-supported method of using Vault, I will close this issue. If you would like to submit a PR to address this, we'd be happy to review it, but at this time, we will not be making these changes. Thanks for understanding.
I tried to use main branch of vault as dependecy since it has the fix which is needed for Go 1.17 and that's when I found a new problem. When running go mod vendor Go will now try to copy also all files described with //go:embed directive. Since those files are not part of the vaults git repo vault cannot be vendored.
To Reproduce
Expected behavior
Running go mod vendor should work with vault as dependecy.
Environment:
go1.17 linux/amd64
github.com/hashicorp/vault@main
The text was updated successfully, but these errors were encountered: