Skip to content

Commit

Permalink
CLOUDP-237661: Update CLI to latest version (#2769)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarjee authored Mar 14, 2024
1 parent 17598c6 commit 0df29ec
Show file tree
Hide file tree
Showing 580 changed files with 620 additions and 626 deletions.
2 changes: 1 addition & 1 deletion build/ci/library_owners.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"github.com/stretchr/testify": "mongocli",
"github.com/tangzero/inflector": "mongocli",
"go.mongodb.org/atlas": "mongocli",
"go.mongodb.org/atlas-sdk/v20231115007": "mongocli",
"go.mongodb.org/atlas-sdk/v20231115008": "mongocli",
"go.mongodb.org/mongo-driver": "mongocli",
"golang.org/x/crypto": "mongocli",
"golang.org/x/tools": "mongocli",
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ require (
github.com/stretchr/testify v1.9.0
github.com/tangzero/inflector v1.0.0
go.mongodb.org/atlas v0.36.0
go.mongodb.org/atlas-sdk/v20231115007 v20231115007.1.0
go.mongodb.org/atlas-sdk/v20231115008 v20231115008.0.0
go.mongodb.org/mongo-driver v1.14.0
golang.org/x/crypto v0.21.0
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ go.mongodb.org/atlas v0.36.0 h1:m05S3AO7zkl+bcG1qaNsEKBnAqnKx2FDwLooHpIG3j4=
go.mongodb.org/atlas v0.36.0/go.mod h1:nfPldE9dSama6G2IbIzmEza02Ly7yFZjMMVscaM0uEc=
go.mongodb.org/atlas-sdk/v20231115004 v20231115004.1.0 h1:vOvfk8bPedcphaTHIm6p8UB/ZPeVOqJZ7+MmTuI1eGs=
go.mongodb.org/atlas-sdk/v20231115004 v20231115004.1.0/go.mod h1:FzD5DLz+WPB+z3OGgNBjXMPQJjJ7Y+hKn4iupXZuoOc=
go.mongodb.org/atlas-sdk/v20231115007 v20231115007.1.0 h1:RAnP53qeTT32iySa4sjfl1PawxNsXZjcieVYLrVw8vs=
go.mongodb.org/atlas-sdk/v20231115007 v20231115007.1.0/go.mod h1:JU7JOUGcv7pfDzbRTwIr8hGy2R1lehdrdfGj9fDjSVY=
go.mongodb.org/atlas-sdk/v20231115008 v20231115008.0.0 h1:F3hwcyCHR7nmtcxHdGjO708OpQC0UtZlx/TkJv9BUSw=
go.mongodb.org/atlas-sdk/v20231115008 v20231115008.0.0/go.mod h1:RrD0o0SpMLmk9IE3HHXBPvVC+Dil9BVghXKjQjhmHps=
go.mongodb.org/mongo-driver v1.14.0 h1:P98w8egYRjYe3XDjxhYJagTokP/H6HzlsnojRgZRd80=
go.mongodb.org/mongo-driver v1.14.0/go.mod h1:Vzb0Mk/pa7e6cWw85R4F/endUC3u0U9jGcNU603k65c=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/accesslists/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/accesslists/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestWhitelistCreate_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/accesslists/describe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestWhitelistDescribe_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/accesslists/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestWhitelistList_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/accesslogs/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestAccessLogListClusterName_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/acknowledge.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
"go.mongodb.org/atlas-sdk/v20231115007/admin"
"go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type AcknowledgeOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/acknowledge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestAcknowledgeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type DescribeOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/describe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDescribeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type ListOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestList_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/afero"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type CreateOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestCreate_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/describe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func Test_describeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/disable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDisableBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/enable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestEnableBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type ListOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestConfigList_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strings"

"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/afero"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type UpdateOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/settings/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/golang/mock/gomock"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestUpdates_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/unacknowledge.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type UnacknowledgeOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/alerts/unacknowledge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/golang/mock/gomock"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestUnacknowledge_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/auditing/describe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDescribeOpts_Run(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type DisableOpts struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDisableBuilder(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type EnableOpts struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestEnableBuilder(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDescribeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/backup/compliancepolicy/enable.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type EnableOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/atlas/backup/compliancepolicy/enable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type DisableOpts struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDisableBuilder(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type EnableOpts struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestEnableBuilder(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type EnableOpts struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestEnableBuilder(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDescribeBuilder(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

type CreateOpts struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestCreateOpts_Run(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115007/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin"
)

func TestDescribeBuilder(t *testing.T) {
Expand Down
Loading

0 comments on commit 0df29ec

Please sign in to comment.