File tree Expand file tree Collapse file tree 9 files changed +10
-9
lines changed Expand file tree Collapse file tree 9 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
2727 "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search"
2828 "github.com/spf13/cobra"
2929 atlasClustersPinned "go.mongodb.org/atlas-sdk/v20240530005/admin"
30- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
30+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
3131 atlas "go.mongodb.org/atlas/mongodbatlas"
3232)
3333
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
3333 "github.com/spf13/afero"
3434 "github.com/spf13/cobra"
3535 atlasClustersPinned "go.mongodb.org/atlas-sdk/v20240530005/admin"
36- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
36+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
3737)
3838
3939const (
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import (
2929 "github.com/stretchr/testify/assert"
3030 "github.com/stretchr/testify/require"
3131 atlasClustersPinned "go.mongodb.org/atlas-sdk/v20240530005/admin"
32- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
32+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
3333)
3434
3535func TestCreateOpts_Run (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
2727 "github.com/stretchr/testify/require"
2828 atlasClustersPinned "go.mongodb.org/atlas-sdk/v20240530005/admin"
29- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
29+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
3030)
3131
3232func TestDescribe_Run (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
2626 "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
2727 "github.com/spf13/cobra"
28- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
28+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
2929)
3030
3131type ListOpts struct {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test"
2626 "github.com/stretchr/testify/require"
2727 atlasClustersPinned "go.mongodb.org/atlas-sdk/v20240530005/admin"
28- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
28+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
2929)
3030
3131func TestList_RunDedicatedCluster (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import (
3131 "github.com/spf13/afero"
3232 "github.com/spf13/cobra"
3333 atlasClustersPinned "go.mongodb.org/atlas-sdk/v20240530005/admin"
34- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
34+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
3535)
3636
3737const (
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "github.com/stretchr/testify/assert"
2626 "github.com/stretchr/testify/require"
2727 atlasClustersPinned "go.mongodb.org/atlas-sdk/v20240530005/admin"
28- atlasv2 "go.mongodb.org/atlas-sdk/v20241113001 /admin"
28+ atlasv2 "go.mongodb.org/atlas-sdk/v20241113002 /admin"
2929)
3030
3131func TestUpdate_Run (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -129,7 +129,8 @@ func isTenant(instanceSizeName string) bool {
129129 instanceSizeName == atlasM5
130130}
131131
132- // UpgradeBuilder atlas cluster(s) upgrade [clusterName] --projectId projectId [--tier M#] [--diskSizeGB N] [--mdbVersion] [--tag key=value].
132+ // UpgradeBuilder builds a cobra.Command that can run as:
133+ // atlas cluster(s) upgrade [clusterName] --projectId projectId [--tier M#] [--diskSizeGB N] [--mdbVersion] [--tag key=value].
133134func UpgradeBuilder () * cobra.Command {
134135 opts := UpgradeOpts {
135136 fs : afero .NewOsFs (),
You can’t perform that action at this time.
0 commit comments