Skip to content

Commit d469444

Browse files
authored
CLOUDP-288306: Stop ignoring flags that were not supported (#3451)
1 parent 342373b commit d469444

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/cli/deployments/setup.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,7 @@ func (opts *SetupOpts) runAtlas(ctx context.Context) error {
632632
_, _ = log.Debugf("Removing flags and args from original args %s\n", os.Args)
633633

634634
flagstoRemove := map[string]string{
635-
flag.TypeFlag: "1",
636-
flag.MDBVersion: "1", // TODO: CLOUDP-200331
637-
flag.ConnectWith: "1", // TODO: CLOUDP-199422
635+
flag.TypeFlag: "1",
638636
}
639637

640638
newArgs, err := workflows.RemoveFlagsAndArgs(flagstoRemove, map[string]bool{opts.DeploymentName: true}, os.Args)

test/e2e/atlas/deployments_atlas_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ func TestDeploymentsAtlas(t *testing.T) {
6363
"atlas",
6464
"--tier",
6565
"M10",
66-
"--force",
66+
"--mdbVersion",
67+
"8.0",
6768
"--skipMongosh",
69+
"--force",
6870
"--debug",
6971
"--projectId", g.projectID,
7072
"--username", dbUserUsername,

0 commit comments

Comments
 (0)