Integrate local machine into subnet deploy #93
Annotations
10 errors and 6 warnings
Lint:
pkg/subnet/deploy_status.go#L1
: # github.com/ava-labs/avalanche-cli/pkg/subnet [github.com/ava-labs/avalanche-cli/pkg/subnet.test]
|
Lint:
pkg/subnet/local_test.go#L194
cannot use c (variable of type *mocks.Client) as "github.com/ava-labs/avalanche-network-runner/client".Client value in return statement: *mocks.Client does not implement "github.com/ava-labs/avalanche-network-runner/client".Client (wrong type for method RemoveSnapshot)
|
Lint:
cmd/nodecmd/local.go#L360
Error return value is not checked (errcheck)
|
Lint:
cmd/nodecmd/local.go#L424
Error return value is not checked (errcheck)
|
Lint:
cmd/blockchaincmd/add_validator.go#L195
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint:
cmd/nodecmd/list.go#L59
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
cmd/nodecmd/destroy.go#L8
File is not `gofumpt`-ed (gofumpt)
|
Lint:
cmd/nodecmd/destroy.go#L10
File is not `gofumpt`-ed (gofumpt)
|
Lint:
cmd/nodecmd/destroy.go#L11
File is not `goimports`-ed (goimports)
|
Lint:
cmd/nodecmd/destroy.go#L329
func `checkCluster` is unused (unused)
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint:
cmd/blockchaincmd/remove_validator.go#L187
unused-parameter: parameter 'validationID' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/remove_validator.go#L193
unused-parameter: parameter 'nodeID' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/remove_validator.go#L198
unused-parameter: parameter 'validationID' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/add_validator.go#L148
unused-parameter: parameter 'kc' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/add_validator.go#L264
unused-parameter: parameter 'subnetID' seems to be unused, consider removing or renaming it as _ (revive)
|