Fix for enabling agent level backups #10
3623 new problems found by Qodana for Go
Qodana for Go
3623 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unhandled error |
🔶 Warning | 2150 |
Unused parameter |
🔶 Warning | 190 |
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 | 981 |
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]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
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
github-actions / Qodana for Go
Bool condition
Expression `v` is always `true`
Check warning on line 206 in internal/pkg/helper/flag.go
github-actions / Qodana for Go
Deprecated element
`ReadAll` is deprecated
Check warning on line 45 in cmd/raw.go
github-actions / Qodana for Go
Deprecated element
`ReadAll` is deprecated
Check warning on line 25 in test/helpers.go
github-actions / Qodana for Go
Deprecated element
`ReadAll` is deprecated
Check warning on line 43 in test/helpers.go
github-actions / Qodana for Go
Deprecated element
`ReadAll` is deprecated
Check warning on line 46 in cmd/pss/pss_reply_attachment_test.go
github-actions / Qodana for Go
Deprecated element
`NopCloser` is deprecated
Check warning on line 50 in internal/pkg/input/input_test.go
github-actions / Qodana for Go
Deprecated element
`NopCloser` is deprecated
Check notice on line 35 in cmd/ecloud/ecloud_v1_solution_network.go
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 130 in cmd/ddosx/ddosx_domain_cdn.go
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