Skip to content

providers/supermicro/supermicro.go: Initialize sum 'client' during serviceclient init #1519

providers/supermicro/supermicro.go: Initialize sum 'client' during serviceclient init

providers/supermicro/supermicro.go: Initialize sum 'client' during serviceclient init #1519

Triggered via pull request October 28, 2024 18:57
Status Failure
Total duration 58s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 2 warnings
lint: providers/supermicro/errors.go#L1
: # github.com/bmc-toolbox/bmclib/v2/providers/supermicro [github.com/bmc-toolbox/bmclib/v2/providers/supermicro.test]
lint: providers/supermicro/firmware_bios_test.go#L83
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
lint: providers/supermicro/firmware_bios_test.go#L172
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
lint: providers/supermicro/x11_firmware_bmc_test.go#L94
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
lint: providers/supermicro/x11_firmware_bmc_test.go#L187
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
lint: providers/supermicro/x11_firmware_bmc_test.go#L268
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
lint: providers/supermicro/x11_firmware_bmc_test.go#L349
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
lint: providers/supermicro/x11_firmware_bmc_test.go#L512
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values (typecheck)
lint
issues found
test: providers/supermicro/firmware_bios_test.go#L83
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
test: providers/supermicro/firmware_bios_test.go#L172
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
test: providers/supermicro/x11_firmware_bmc_test.go#L94
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
test: providers/supermicro/x11_firmware_bmc_test.go#L187
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
test: providers/supermicro/x11_firmware_bmc_test.go#L268
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
test: providers/supermicro/x11_firmware_bmc_test.go#L349
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
test: providers/supermicro/x11_firmware_bmc_test.go#L512
assignment mismatch: 1 variable but newBmcServiceClient returns 2 values
test
Process completed with exit code 2.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, 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/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/