Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task: delete atlas validations #2762

Merged
merged 2 commits into from Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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