lint fix #2062
Annotations
7 errors
Code Lint:
nutanix/services/lcmv2/resource_nutanix_lcm_upgrade_v2.go#L192
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Code Lint:
nutanix/services/lcmv2/data_source_lcm_config.go#L88
var `clusterId` should be `clusterID` (golint)
|
Code Lint:
nutanix/services/lcmv2/resource_nutanix_lcm_config.go#L89
var `clusterId` should be `clusterID` (golint)
|
Code Lint:
nutanix/services/lcmv2/resource_nutanix_lcm_config.go#L90
don't use underscores in Go names; var `if_match` should be `ifMatch` (golint)
|
Code Lint:
nutanix/services/lcmv2/resource_nutanix_lcm_inventory_v2.go#L40
var `clusterId` should be `clusterID` (golint)
|
Code Lint:
nutanix/services/lcmv2/resource_nutanix_lcm_upgrade_v2.go#L91
mnd: Magic number: 60, in <argument> detected (gomnd)
|
Code Lint
Process completed with exit code 2.
|
Loading