chore: Migrate ports command from packngo to metal-go client #692
Annotations
9 errors and 1 warning
lint:
test/e2e/ports/convert/convert_test.go#L1
: # github.com/equinix/metal-cli/test/e2e/ports/convert [github.com/equinix/metal-cli/test/e2e/ports/convert.test]
|
lint:
test/e2e/ports/convert/convert_test.go#L85
undefined: helper.DeletePort
|
lint:
test/e2e/ports/convert/convert_test.go#L88
undefined: helper.DeleteVLAN (typecheck)
|
lint:
test/helper/helper.go#L265
S1002: should omit comparison to bool constant, can be simplified to `resp` (gosimple)
|
lint:
test/helper/helper.go#L131
printf: fmt.Errorf call has arguments but no formatting directives (govet)
|
lint:
test/e2e/ports/retrieve/retrieve_test.go#L49
ineffectual assignment to err (ineffassign)
|
lint:
test/e2e/ports/vlans/vlans_test.go#L49
ineffectual assignment to err (ineffassign)
|
lint:
test/helper/helper.go#L123
SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck)
|
lint
issues found
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/metal-cli/metal-cli. Supported file pattern: go.sum
|