Skip to content

Commit

Permalink
Bump up minio/pkg to v3 (#4940)
Browse files Browse the repository at this point in the history
  • Loading branch information
donatello authored May 23, 2024
1 parent b46cf3c commit d4b7b00
Show file tree
Hide file tree
Showing 186 changed files with 202 additions and 202 deletions.
2 changes: 1 addition & 1 deletion cmd/admin-cluster-bucket-export.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminClusterBucketExportCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-cluster-bucket-import.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminClusterBucketImportCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-cluster-iam-export.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminClusterIAMExportCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-cluster-iam-import.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/klauspost/compress/zip"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminClusterIAMImportCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-config-export.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminConfigExportCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-config-get.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminConfigGetCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-config-history.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var historyListFlags = []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-config-import.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminConfigImportCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-config-reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminConfigEnvFlags = []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-config-restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminConfigRestoreCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-config-set.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminConfigSetCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-decom-cancel.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/minio/cli"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminDecommissionCancelCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-decom-start.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminDecommissionStartCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-decom-status.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminDecommissionStatusCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-group-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminGroupAddCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-group-enable.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/minio/cli"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminGroupEnableCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-group-info.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminGroupInfoCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-group-list.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminGroupListCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-group-remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/minio/cli"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminGroupRemoveCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-heal-ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-heal.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-info.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminInfoCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-kms-key-create.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
"golang.org/x/term"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-kms-key-list.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminKMSKeyListCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-kms-key-status.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminKMSKeyStatusCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

const logTimeFormat string = "15:04:05 MST 01/02/2006"
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-policy-create.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminPolicyCreateCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-policy-info.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/minio/cli"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var policyInfoFlags = []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-policy-list.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminPolicyListCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-policy-remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminPolicyRemoveCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-prometheus-generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"

json "github.com/minio/colorjson"
yaml "gopkg.in/yaml.v2"
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-rebalance-start.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminRebalanceStartCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-rebalance-status.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminRebalanceStatusCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-rebalance-stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/minio/cli"
json "github.com/minio/colorjson"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminRebalanceStopCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminReplicateAddFlags = []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-info.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminReplicateInfoCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminReplicateRemoveFlags = []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-resync-cancel.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminReplicateResyncCancelCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-resync-start.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminReplicateResyncStartCmd = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-resync-status.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"github.com/minio/cli"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
"github.com/olekukonko/tablewriter"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-status.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/minio-go/v7/pkg/replication"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminReplicateStatusFlags = []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-replicate-update.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminReplicateUpdateFlags = []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-scanner-status.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
json "github.com/minio/colorjson"
"github.com/minio/madmin-go/v3"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
"github.com/olekukonko/tablewriter"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/admin-scanner-trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/fatih/color"
"github.com/minio/cli"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/v2/console"
"github.com/minio/pkg/v3/console"
)

var adminScannerTraceFlags = []cli.Flag{
Expand Down
Loading

0 comments on commit d4b7b00

Please sign in to comment.