Skip to content

fix: only attach error to diagnostics if podman machine is required #3286

fix: only attach error to diagnostics if podman machine is required

fix: only attach error to diagnostics if podman machine is required #3286

Triggered via pull request March 19, 2024 13:59
Status Failure
Total duration 6m 3s
Artifacts

code-health.yml

on: pull_request
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

26 errors
lint: internal/podman/client.go#L1
: # github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman
lint: internal/podman/client.go#L184
undefined: MachineRequired (typecheck)
lint: internal/cli/atlas/deployments/options/deployment_opts.go#L33
could not import github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman (-: # github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman
lint: internal/podman/client.go#L184
undefined: MachineRequired) (typecheck)
lint: internal/cli/atlas/deployments/test/fixture/deployment_local.go#L22
could not import github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman (-: # github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman
lint: internal/podman/client.go#L184
undefined: MachineRequired) (typecheck)
lint: internal/cli/atlas/deployments/diagnostics.go#L24
could not import github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman (-: # github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman
lint: internal/podman/client.go#L184
undefined: MachineRequired) (typecheck)
lint: internal/cli/atlas/deployments/delete.go#L57
opts.SelectDeployments undefined (type *DeleteOpts has no field or method SelectDeployments) (typecheck)
lint: internal/cli/atlas/deployments/delete.go#L60
opts.DeploymentName undefined (type *DeleteOpts has no field or method DeploymentName) (typecheck)
docs: internal/podman/client.go#L184
undefined: MachineRequired
docs
Process completed with exit code 2.
unit-tests (macos-latest): internal/podman/client.go#L184
undefined: MachineRequired
unit-tests (macos-latest): internal/podman/client.go#L184
undefined: MachineRequired
unit-tests (macos-latest)
Process completed with exit code 2.
mocks
undefined: MachineRequired
mocks
undefined: MachineRequired
mocks
no required module provides package github.com/golang/mock/mockgen/model: go.mod file not found in current directory or any parent directory; see 'go help modules'
mocks
no required module provides package github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman: go.mod file not found in current directory or any parent directory; see 'go help modules'
mocks
Process completed with exit code 2.
unit-tests (ubuntu-latest): internal/podman/client.go#L184
undefined: MachineRequired
unit-tests (ubuntu-latest): internal/podman/client.go#L184
undefined: MachineRequired
unit-tests (ubuntu-latest)
Process completed with exit code 2.
unit-tests (windows-latest): internal/podman/client.go#L184
undefined: MachineRequired
unit-tests (windows-latest): internal/podman/client.go#L184
undefined: MachineRequired
unit-tests (windows-latest)
Process completed with exit code 1.