CLOUDP-276968: improve whoami err message #5030
code-health.yml
on: pull_request
lint
3m 18s
fuzz-tests
2m 18s
libraryOwners
1m 3s
docs
2m 26s
actionlint
1m 6s
mocks
2m 58s
shellcheck
1m 15s
tidy
1m 22s
licensecheck
1m 44s
checktemplates
3m 38s
Build docker image
3m 25s
Matrix: unit-tests
Annotations
31 errors
unit-tests (macos-latest):
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body
|
unit-tests (macos-latest):
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body
|
unit-tests (macos-latest)
Process completed with exit code 2.
|
docs:
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body
|
docs
Process completed with exit code 2.
|
mocks
syntax error: non-declaration statement outside function body
|
mocks
syntax error: non-declaration statement outside function body
|
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/cli/auth: go.mod file not found in current directory or any parent directory; see 'go help modules'
|
mocks
syntax error: non-declaration statement outside function body
|
mocks
syntax error: non-declaration statement outside function body
|
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/cli/deployments/options: go.mod file not found in current directory or any parent directory; see 'go help modules'
|
mocks
syntax error: non-declaration statement outside function body
|
mocks
syntax error: non-declaration statement outside function body
|
lint:
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body (typecheck)
|
lint:
internal/cli/auth/whoami.go#L49
expected declaration, found 'if' (typecheck)
|
lint:
internal/cli/auth/whoami.go#L69
expected declaration, found 'if' (typecheck)
|
lint:
internal/cli/deployments/connect.go#L52
opts.DeploymentTelemetry undefined (type *ConnectOpts has no field or method DeploymentTelemetry) (typecheck)
|
lint:
internal/cli/deployments/connect.go#L68
opts.DeploymentName undefined (type *ConnectOpts has no field or method DeploymentName) (typecheck)
|
lint:
internal/cli/deployments/connect.go#L73
opts.InitStore undefined (type *ConnectOpts has no field or method InitStore) (typecheck)
|
lint:
internal/cli/deployments/connect.go#L87
opts.DeploymentType undefined (type *ConnectOpts has no field or method DeploymentType) (typecheck)
|
lint:
internal/cli/deployments/connect.go#L110
opts.SelectDeployments undefined (type *ConnectOpts has no field or method SelectDeployments) (typecheck)
|
lint:
internal/cli/deployments/connect.go#L118
opts.IsAtlasDeploymentType undefined (type *ConnectOpts has no field or method IsAtlasDeploymentType) (typecheck)
|
lint:
internal/cli/deployments/connect.go#L182
opts.ConnectionString undefined (type *ConnectOpts has no field or method ConnectionString) (typecheck)
|
unit-tests (ubuntu-latest):
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body
|
unit-tests (ubuntu-latest):
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body
|
unit-tests (ubuntu-latest)
Process completed with exit code 2.
|
unit-tests (windows-latest):
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body
|
unit-tests (windows-latest):
internal/cli/auth/whoami.go#L49
syntax error: non-declaration statement outside function body
|
unit-tests (windows-latest)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actionlint-permissions-f55990f0449d4989652085ad3ea981a5
|
140 Bytes |
|
checktemplates-permissions-53a7fd46050e16751a3175149ba36165
|
151 Bytes |
|
docs-permissions-6591e0266e39a6256face77bcf39b77b
|
151 Bytes |
|
fuzz-tests-permissions-c90c32181c571ba28e71ccf9316fc257
|
151 Bytes |
|
golangci-permissions-fb5ffaa14103d00c926c80d2118c17a0
|
151 Bytes |
|
libraryOwners-permissions-98ed9ede9185ff74c4ea06ce2469911a
|
151 Bytes |
|
licensecheck-permissions-6405450f5d2d7fc8316c31826319b1fa
|
151 Bytes |
|
mocks-permissions-58946a68823716a8af1d18a59b693db6
|
151 Bytes |
|
mongodb~mongodb-atlas-cli~PQMB7L.dockerbuild
|
52.9 KB |
|
shellcheck-permissions-d228dbb5b9e26626dce5dc14e2c1129c
|
140 Bytes |
|
tidy-permissions-8f072a02278101e454447f813fc66b47
|
151 Bytes |
|
unit-tests-permissions-036ae5931500af2a44d43b87dd9a9405
|
151 Bytes |
|
verify_image-permissions-f299e44ce800f3005dba3079c2f07cd0
|
140 Bytes |
|