Skip to content

Commit

Permalink
CLOUDP-284090: Bump Atlas GO SDK to v20241023002.1.0 (#3386)
Browse files Browse the repository at this point in the history
Co-authored-by: jeroenvervaeke <[email protected]>
Co-authored-by: Filipe C Menezes <[email protected]>
  • Loading branch information
3 people authored Nov 19, 2024
1 parent 5438f89 commit bb4ab00
Show file tree
Hide file tree
Showing 578 changed files with 599 additions and 601 deletions.
2 changes: 1 addition & 1 deletion .atlas-sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20240805005
v20241023002
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ linters-settings:
alias:
- pkg: go.mongodb.org/atlas-sdk/v20240530005/admin
alias: atlasClustersPinned
- pkg: go.mongodb.org/atlas-sdk/v20240805005/admin
- pkg: go.mongodb.org/atlas-sdk/v20241023002/admin
alias: atlasv2
- pkg: go.mongodb.org/atlas/mongodbatlas
alias: atlas
Expand Down
2 changes: 1 addition & 1 deletion build/ci/library_owners.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"github.com/stretchr/testify": "apix-2",
"github.com/tangzero/inflector": "apix-2",
"go.mongodb.org/atlas": "apix-2",
"go.mongodb.org/atlas-sdk/v20240805005": "apix-2",
"go.mongodb.org/atlas-sdk/v20241023002": "apix-2",
"go.mongodb.org/atlas-sdk/v20240530005": "apix-2",
"go.mongodb.org/mongo-driver": "apix-2",
"golang.org/x/sys": "apix-2",
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/tangzero/inflector v1.0.0
go.mongodb.org/atlas v0.37.0
go.mongodb.org/atlas-sdk/v20240530005 v20240530005.0.0
go.mongodb.org/atlas-sdk/v20240805005 v20240805005.0.0
go.mongodb.org/atlas-sdk/v20241023002 v20241023002.1.0
go.mongodb.org/mongo-driver v1.17.1
golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6
golang.org/x/mod v0.22.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ go.mongodb.org/atlas-sdk/v20231115008 v20231115008.5.0 h1:OuV1HfIpZUZa4+BKvtrvDl
go.mongodb.org/atlas-sdk/v20231115008 v20231115008.5.0/go.mod h1:0707RpWIrNFZ6Msy/dwRDCzC5JVDon61JoOqcbfCujg=
go.mongodb.org/atlas-sdk/v20240530005 v20240530005.0.0 h1:d/gbYJ+obR0EM/3DZf7+ZMi2QWISegm3mid7Or708cc=
go.mongodb.org/atlas-sdk/v20240530005 v20240530005.0.0/go.mod h1:O47ZrMMfcWb31wznNIq2PQkkdoFoK0ea2GlmRqGJC2s=
go.mongodb.org/atlas-sdk/v20240805005 v20240805005.0.0 h1:EGTT54tKbDbkhhK+jH5AqINFQbHdvaOSpI0oeI5Tl1s=
go.mongodb.org/atlas-sdk/v20240805005 v20240805005.0.0/go.mod h1:UTNpAyiKm/7utu+Nl0FafgjgvS+ONNGEoxBT5g/40WM=
go.mongodb.org/atlas-sdk/v20241023002 v20241023002.1.0 h1:np4VLZ3RU+gafyYaU91odUySDhxqvH2ioqVQqHmD2eQ=
go.mongodb.org/atlas-sdk/v20241023002 v20241023002.1.0/go.mod h1:Giw92LBGnr495/nZfEoCtOiW7rkyFdc8ljqIZp+nA48=
go.mongodb.org/mongo-driver v1.17.1 h1:Wic5cJIwJgSpBhe3lx3+/RybR5PiYRMpVFgO7cOHyIM=
go.mongodb.org/mongo-driver v1.17.1/go.mod h1:wwWm/+BuOddhcq3n68LKRmgk2wXzmF6s0SFOa0GINL4=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestWhitelistCreate_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestWhitelistDescribe_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestWhitelistList_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestAccessLogListClusterName_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
"go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type AcknowledgeOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestAcknowledgeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type DescribeOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestDescribeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type ListOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestList_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type CreateOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestCreate_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func Test_describeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestDisableBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestEnableBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type ListOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestConfigList_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type UpdateOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestUpdates_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type UnacknowledgeOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestUnacknowledge_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/auditing/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/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestDescribeOpts_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/auditing/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type UpdateOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/auditing/update_test.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/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestUpdateOpts_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/auth/login_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.mongodb.org/atlas-sdk/v20240805005/admin"
"go.mongodb.org/atlas-sdk/v20241023002/admin"
"go.mongodb.org/atlas/auth"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/auth/register_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/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.mongodb.org/atlas-sdk/v20240805005/admin"
"go.mongodb.org/atlas-sdk/v20241023002/admin"
"go.mongodb.org/atlas/auth"
)

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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestEnableBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/backup/compliancepolicy/describe_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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

func TestDescribeBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

type EnableOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/backup/compliancepolicy/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/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/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/v20240805005/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241023002/admin"
)

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

0 comments on commit bb4ab00

Please sign in to comment.