Switch from mitchellh/cli to hashicorp/cli (#24239)

@mitchellh suggested we fork `cli` and switch to that.

Since we primarily use the interfaces in `cli`, and the new
fork has not changed those, this is (mostly) a drop-in replacement.

A small fix will be necessary for Vault Enterprise, I believe.
This commit is contained in:
Christopher Swenson
2023-12-04 11:05:02 -08:00
committed by GitHub
parent 91ec1a788b
commit 6ed8b88f5f
207 changed files with 217 additions and 221 deletions

View File

@@ -18,11 +18,11 @@ import (
"github.com/armon/go-metrics/prometheus"
stackdriver "github.com/google/go-metrics-stackdriver"
stackdrivervault "github.com/google/go-metrics-stackdriver/vault"
"github.com/hashicorp/cli"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/hcl"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/vault/helper/metricsutil"
"github.com/mitchellh/cli"
"google.golang.org/api/option"
)

View File

@@ -13,12 +13,12 @@ import (
osuser "os/user"
"strconv"
"github.com/hashicorp/cli"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/go-secure-stdlib/reloadutil"
"github.com/hashicorp/go-secure-stdlib/tlsutil"
"github.com/hashicorp/vault/internalshared/configutil"
"github.com/jefferai/isbadcipher"
"github.com/mitchellh/cli"
)
type Listener struct {