Skip to content

Commit

Permalink
task: delete mongosh integrations (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
gssbzn committed Mar 12, 2024
1 parent f76e194 commit 603b467
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 98 deletions.
8 changes: 0 additions & 8 deletions internal/cli/config/set.go
Expand Up @@ -21,7 +21,6 @@ import (
"github.com/mongodb/mongodb-atlas-cli/mongocli/v2/internal/cli"
"github.com/mongodb/mongodb-atlas-cli/mongocli/v2/internal/cli/require"
"github.com/mongodb/mongodb-atlas-cli/mongocli/v2/internal/config"
"github.com/mongodb/mongodb-atlas-cli/mongocli/v2/internal/mongosh"
"github.com/mongodb/mongodb-atlas-cli/mongocli/v2/internal/search"
"github.com/mongodb/mongodb-atlas-cli/mongocli/v2/internal/validate"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -55,13 +54,6 @@ func (opts *SetOpts) Run() error {
opts.store.Set(opts.prop, value)
}

if opts.prop == config.TelemetryEnabledProperty && mongosh.Detect() {
err := mongosh.SetTelemetry(value.(bool))
if err != nil {
return fmt.Errorf("error enabling telemetry on mongosh: %w", err)
}
}

if err := opts.store.Save(); err != nil {
return err
}
Expand Down
54 changes: 0 additions & 54 deletions internal/mongosh/mongosh.go

This file was deleted.

19 changes: 0 additions & 19 deletions internal/mongosh/mongosh_bin.go

This file was deleted.

17 changes: 0 additions & 17 deletions internal/mongosh/mongosh_bin_windows.go

This file was deleted.

0 comments on commit 603b467

Please sign in to comment.