Skip to content

Commit

Permalink
task: delete atlas validations (#2762)
Browse files Browse the repository at this point in the history
  • Loading branch information
gssbzn committed Mar 12, 2024
1 parent 603b467 commit 468a07b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 720 deletions.
4 changes: 0 additions & 4 deletions internal/cli/errors.go
Expand Up @@ -15,7 +15,6 @@
package cli

import (
"errors"
"fmt"

"github.com/mongodb/mongodb-atlas-cli/mongocli/v2/internal/flag"
Expand All @@ -25,6 +24,3 @@ const requiredF = `required flag(s) "%s" not set`

var errMissingProjectID = fmt.Errorf(requiredF, flag.ProjectID)
var ErrMissingOrgID = fmt.Errorf(requiredF, flag.OrgID)
var ErrFreeClusterAlreadyExists = errors.New("this project already has another free cluster. To learn how to create non-free clusters, run \"atlas cluster create --help\"")
var ErrNoRegionExistsTryCommand = errors.New(`the region does not exist. To find the available regions, run "atlas cluster availableRegions list"`)
var ErrNameExists = errors.New(`the name already exists. Please run "atlas cluster list" to review existing cluster names`)
2 changes: 0 additions & 2 deletions internal/flag/flags.go
Expand Up @@ -119,7 +119,6 @@ const (
Key = "key" // Key flag
CollectionName = "collectionName" // CollectionName flag
Database = "db" // Database flag
Unique = "unique" // Unique flag
RSName = "rsName" // RSName flag
Sparse = "sparse" // Sparse flag
Locale = "locale" // Locale flag
Expand Down Expand Up @@ -171,7 +170,6 @@ const (
MonthlySnapshotRetentionMonths = "monthlySnapshotRetentionMonths" // MonthlySnapshotRetentionMonths flag
Policy = "policy" // Policy flag
SystemID = "systemId" // SystemID flag
Default = "default" // Default flag
Timestamp = "timestamp" // Timestamp flag
OwnerID = "ownerId" // OwnerID flag
LinkToken = "linkToken" // LinkToken flag
Expand Down

0 comments on commit 468a07b

Please sign in to comment.