apache / shardingsphere-on-cloud

A collection of tools and best practices to take ShardingSphere into the cloud
Apache License 2.0
83 stars 28 forks source link

refactor: optimize error message format #447

Closed mlycore closed 11 months ago

mlycore commented 11 months ago

Type of change:

What this PR does / why we need it:

fix: #444

Pre-submission checklist:

codecov-commenter commented 11 months ago

Codecov Report

Merging #447 (5dd5db7) into main (3604a24) will decrease coverage by 3.40%. Report is 181 commits behind head on main. The diff coverage is 23.16%.

@@            Coverage Diff             @@
##             main     #447      +/-   ##
==========================================
- Coverage   39.71%   36.32%   -3.40%     
==========================================
  Files          51       59       +8     
  Lines        6083     6615     +532     
==========================================
- Hits         2416     2403      -13     
- Misses       3448     3985     +537     
- Partials      219      227       +8     
Files Changed Coverage Δ
pitr/agent/internal/handler/diskspace.go 40.00% <0.00%> (ø)
pitr/agent/internal/handler/restore.go 0.00% <0.00%> (ø)
pitr/agent/internal/handler/show.go 0.00% <0.00%> (ø)
pitr/cli/internal/cmd/restore.go 58.33% <0.00%> (-0.99%) :arrow_down:
pitr/cli/internal/pkg/local-storage.go 40.65% <0.00%> (-2.09%) :arrow_down:
pitr/cli/internal/pkg/shardingsphere-proxy.go 15.51% <0.00%> (ø)
...tor/cmd/shardingsphere-operator/manager/manager.go 0.00% <0.00%> (ø)
...operator/pkg/controllers/auto_scaler_controller.go 0.00% <0.00%> (ø)
...phere-operator/pkg/controllers/chaos_controller.go 0.00% <0.00%> (ø)
...perator/pkg/controllers/compute_node_controller.go 0.00% <0.00%> (ø)
... and 22 more

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
1.0% 1.0% Duplication