Skip to content

Add Upgrade Run Resource #1438

Add Upgrade Run Resource

Add Upgrade Run Resource #1438

Triggered via pull request January 24, 2024 23:44
Status Failure
Total duration 1m 44s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: nsxt/data_source_nsxt_upgrade_postcheck.go#L7
File is not `goimports`-ed (goimports)
lint: nsxt/resource_nsxt_upgrade_run.go#L467
G601: Implicit memory aliasing in for loop. (gosec)
lint: nsxt/resource_nsxt_upgrade_run.go#L408
composites: `github.com/vmware/vsphere-automation-sdk-go/services/nsxt-mp/nsx/model.KeyValuePair` composite literal uses unkeyed fields (govet)
lint: nsxt/resource_nsxt_upgrade_run.go#L412
composites: `github.com/vmware/vsphere-automation-sdk-go/services/nsxt-mp/nsx/model.KeyValuePair` composite literal uses unkeyed fields (govet)
lint: nsxt/resource_nsxt_upgrade_run.go#L416
composites: `github.com/vmware/vsphere-automation-sdk-go/services/nsxt-mp/nsx/model.KeyValuePair` composite literal uses unkeyed fields (govet)
lint: nsxt/resource_nsxt_upgrade_run.go#L420
composites: `github.com/vmware/vsphere-automation-sdk-go/services/nsxt-mp/nsx/model.KeyValuePair` composite literal uses unkeyed fields (govet)
lint: nsxt/data_source_nsxt_edge_upgrade_group.go#L47
printf: fmt.Errorf format %v reads arg #1, but call has 0 args (govet)
lint: nsxt/data_source_nsxt_upgrade_postcheck.go#L75
printf: fmt.Errorf format %v reads arg #2, but call has 1 arg (govet)
lint: nsxt/data_source_nsxt_upgrade_postcheck.go#L98
printf: fmt.Errorf format %v reads arg #2, but call has 1 arg (govet)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.