Skip to content

lint fixes. go error (gomnd, gosimple, golint) #129

lint fixes. go error (gomnd, gosimple, golint)

lint fixes. go error (gomnd, gosimple, golint) #129

Triggered via push December 13, 2023 10:24
Status Failure
Total duration 1m 26s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
tests: nutanix/services/v2/networking/data_source_nutanix_subnet_v2.go#L910
S1019: should use make(map[string]interface{}) instead (gosimple)
tests: nutanix/services/v2/networking/data_source_nutanix_subnet_v2.go#L1022
mnd: Magic number: 2, in <argument> detected (gomnd)
tests: nutanix/services/v2/networking/data_source_nutanix_subnet_v2.go#L1025
mnd: Magic number: 3, in <argument> detected (gomnd)
tests: nutanix/services/v2/networking/data_source_nutanix_subnet_v2.go#L1078
mnd: Magic number: 2, in <argument> detected (gomnd)
tests: nutanix/services/v2/networking/data_source_nutanix_subnet_v2.go#L1081
mnd: Magic number: 3, in <argument> detected (gomnd)
tests: nutanix/services/v2/networking/data_source_nutanix_subnet_v2.go#L1084
mnd: Magic number: 4, in <argument> detected (gomnd)
tests: nutanix/services/v2/networking/data_source_nutanix_subnet_v2.go#L1087
mnd: Magic number: 5, in <argument> detected (gomnd)
tests
Process completed with exit code 2.
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/