Fix NPE in vSphere etcd machine datastore usage calculation (#8245) #25067
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']
|