confita icon indicating copy to clipboard operation
confita copied to clipboard

Use vault/api module instead of vault

Open HnH opened this issue 5 years ago • 0 comments

Purpose of this PR is to:

  1. Use the vault/api module, instead of vault itself.
  2. Update vault api lib version used in confita at the moment.
  3. Fix a situation with ambiguous import when a project requires both confita and vault/api modules, which happens now because confita locks vault version on v0.9.6 which depends on older api version.
go get github.com/hashicorp/vault/api: ambiguous import: found github.com/hashicorp/vault/api in multiple modules:
	github.com/hashicorp/vault v0.9.6 (/home/sergey/apps/go/pkg/mod/github.com/hashicorp/[email protected]/api)
	github.com/hashicorp/vault/api v1.0.4 (/home/sergey/apps/go/pkg/mod/github.com/hashicorp/vault/[email protected])

HnH avatar Jan 09 '20 07:01 HnH