Skip to content

Fix NPE in vSphere etcd machine datastore usage calculation #24967

Fix NPE in vSphere etcd machine datastore usage calculation

Fix NPE in vSphere etcd machine datastore usage calculation #24967

Triggered via pull request June 4, 2024 08:33
Status Failure
Total duration 2m 42s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
lint: pkg/providers/vsphere/vsphere.go#L379
cyclomatic complexity 12 of func `(*vsphereProvider).SetupAndValidateUpgradeCluster` is high (> 10) (gocyclo)
lint: pkg/providers/vsphere/vsphere.go#L744
exported: exported function NeedsNewKubeadmConfigTemplate should have comment or be unexported (revive)
lint: pkg/providers/vsphere/vsphere_test.go#L186
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/providers/vsphere/vsphere_test.go#L198
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/providers/vsphere/vsphere_test.go#L214
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/providers/vsphere/vsphere_test.go#L537
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint
issues found
lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']