Format codebase with gofumpt
#22932
Annotations
8 errors and 10 warnings
lint:
internal/pkg/ec2/list.go#L14
cyclomatic complexity 11 of func `ListInstances` is high (> 10) (gocyclo)
|
lint:
pkg/api/v1alpha1/cluster_types.go#L653
cyclomatic complexity 17 of func `CNIPluginSame` is high (> 10) (gocyclo)
|
lint:
pkg/api/v1alpha1/cloudstackmachineconfig_types.go#L118
cyclomatic complexity 11 of func `(*CloudStackResourceDiskOffering).Validate` is high (> 10) (gocyclo)
|
lint:
pkg/executables/cmk.go#L294
cyclomatic complexity 11 of func `(*Cmk).ValidateNetworkPresent` is high (> 10) (gocyclo)
|
lint:
pkg/executables/cmk.go#L147
cyclomatic complexity 11 of func `(*Cmk).ValidateDiskOfferingPresent` is high (> 10) (gocyclo)
|
lint:
pkg/providers/tinkerbell/upgrade.go#L58
cyclomatic complexity 19 of func `(*Provider).SetupAndValidateUpgradeCluster` is high (> 10) (gocyclo)
|
lint:
pkg/providers/vsphere/vsphere.go#L382
cyclomatic complexity 13 of func `(*vsphereProvider).SetupAndValidateUpgradeCluster` is high (> 10) (gocyclo)
|
lint
issues found
|
lint:
pkg/git/gogithub/gogithub.go#L147
exported: exported method GoGithub.CheckAccessTokenPermissions should have comment or be unexported (revive)
|
lint:
pkg/networkutils/networkutils.go#L46
exported: exported function IsPortInUse should have comment or be unexported (revive)
|
lint:
pkg/git/gitclient/gitclient.go#L318
var-naming: interface method parameter repoUrl should be repoURL (revive)
|
lint:
pkg/govmomi/client.go#L54
exported: exported method VMOMIClient.GetPrivsOnEntity should have comment or be unexported (revive)
|
lint:
pkg/git/providers/github/github.go#L165
var-naming: func RepoUrl should be RepoURL (revive)
|
lint:
pkg/api/v1alpha1/awsiamconfig.go#L17
exported: exported function GetAndValidateAWSIamConfig should have comment or be unexported (revive)
|
lint:
pkg/api/v1alpha1/cloudstackmachineconfig_types.go#L140
exported: exported method SymlinkMaps.Validate should have comment or be unexported (revive)
|
lint:
pkg/api/v1alpha1/oidcconfig.go#L13
exported: exported function GetAndValidateOIDCConfig should have comment or be unexported (revive)
|
lint:
pkg/git/factory/gitfactory.go#L98
var-naming: func parameter repoUrl should be repoURL (revive)
|
lint:
internal/pkg/api/cluster.go#L120
exported: exported function WithControlPlaneLabel should have comment or be unexported (revive)
|