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

CLOUDP-239849: remove unused podman struct fields #2813

Merged
merged 2 commits into from Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 2 additions & 0 deletions internal/cli/deployments/options/deployment_opts_select.go
Expand Up @@ -22,6 +22,7 @@ import (
"strings"

"github.com/AlecAivazis/survey/v2"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
Expand All @@ -35,6 +36,7 @@ var errDeploymentRequiredOnPipe = fmt.Errorf("deployment name is required when
func (opts *DeploymentOpts) findMongoDContainer(ctx context.Context) (*podman.InspectContainerData, error) {
containers, err := opts.PodmanClient.ContainerInspect(ctx, opts.LocalMongodHostname())
if err != nil {
_, _ = log.Debugf("Error: failed to retrieve Local deployments because %q\n", err.Error())
return nil, fmt.Errorf("%w: %s", ErrDeploymentNotFound, opts.DeploymentName)
}

Expand Down