Skip to content

Add eCloud VPC VPN Gateway management commands

Sign in for the full log view
GitHub Actions / Qodana for Go completed Nov 11, 2024 in 0s

3584 new problems found by Qodana for Go

Qodana for Go

3584 new problems were found

Inspection name Severity Problems
Unhandled error 🔶 Warning 2123
Unused parameter 🔶 Warning 187
Redundant types in composite literals 🔶 Warning 43
Deprecated element 🔶 Warning 6
Unused function 🔶 Warning 4
Unused exported function 🔶 Warning 3
Imported package name as a name identifier 🔶 Warning 2
Missing 'case' statements for 'iota' consts in 'switch' 🔶 Warning 2
Bool condition 🔶 Warning 1
Error string should not be capitalized or end with punctuation ◽️ Notice 972
Redundant import alias ◽️ Notice 194
Name starts with a package name ◽️ Notice 28
Type assertion on errors fails on wrapped errors ◽️ Notice 8
Redundant parentheses ◽️ Notice 4
Empty slice declared using a literal ◽️ Notice 3
Redundant type conversion ◽️ Notice 2
Type can be omitted ◽️ Notice 2

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 79 in internal/pkg/output/output_handler_data_provider_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Expression `v` is always `true`

Check warning on line 206 in internal/pkg/helper/flag.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`ReadAll` is deprecated

Check warning on line 45 in cmd/raw.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`ReadAll` is deprecated

Check warning on line 25 in test/helpers.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`ReadAll` is deprecated

Check warning on line 43 in test/helpers.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`ReadAll` is deprecated

Check warning on line 46 in cmd/pss/pss_reply_attachment_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`NopCloser` is deprecated

Check warning on line 50 in internal/pkg/input/input_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Deprecated element

`NopCloser` is deprecated

Check notice on line 157 in cmd/ecloud/ecloud.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 35 in cmd/ecloud/ecloud_v1_solution_network.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 60 in cmd/draas/draas_solution_backupresource.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 73 in cmd/loadbalancer/loadbalancer_listener_accessip.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 127 in cmd/ecloud/ecloud_v1_vm_disk.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 317 in cmd/safedns/safedns_template_record.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 150 in cmd/pss/pss_change.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 158 in cmd/ddosx/ddosx_ssl.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 55 in cmd/ecloud/ecloud_firewallrule_port.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 36 in cmd/ecloud/ecloud_instance_volume.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 90 in cmd/ecloud/ecloud_instance.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 34 in cmd/ecloud/ecloud_image_metadata.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 96 in internal/pkg/helper/flag.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 275 in cmd/ecloud/ecloud_floatingip.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 81 in cmd/ddosx/ddosx_domain_waf_rule.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 151 in cmd/ddosx/ddosx_domain_acl_geoip.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 124 in cmd/ecloud/ecloud_hostgroup.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark

Check notice on line 37 in cmd/loadbalancer/loadbalancer_listener_accessip.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Error string should not be capitalized or end with punctuation

Error string should not be capitalized or end with punctuation mark