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: using PrettyPrint to refactor delete and restore backup #471

Closed mlycore closed 9 months ago

mlycore commented 9 months ago

Type of change:

What this PR does / why we need it:

Pre-submission checklist:

codecov-commenter commented 9 months ago

Codecov Report

Attention: 879 lines in your changes are missing coverage. Please review.

Comparison is base (3604a24) 39.71% compared to head (634ca60) 36.94%. Report is 220 commits behind head on main.

Files Patch % Lines
...phere-operator/pkg/controllers/chaos_controller.go 0.00% 276 Missing :warning:
...perator/pkg/controllers/storage_node_controller.go 26.58% 96 Missing and 20 partials :warning:
...operator/pkg/controllers/auto_scaler_controller.go 0.00% 89 Missing :warning:
pitr/cli/internal/cmd/delete.go 67.45% 43 Missing and 12 partials :warning:
pitr/cli/pkg/prettyoutput/progress.go 8.51% 43 Missing :warning:
pitr/cli/internal/pkg/local-storage.go 11.11% 37 Missing and 3 partials :warning:
pitr/agent/internal/pkg/opengauss.go 2.56% 38 Missing :warning:
pitr/cli/internal/cmd/backup.go 70.58% 33 Missing and 2 partials :warning:
...ator/cmd/shardingsphere-operator/manager/option.go 6.06% 31 Missing :warning:
pitr/cli/internal/cmd/common.go 77.77% 16 Missing and 8 partials :warning:
... and 12 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #471 +/- ## ========================================== - Coverage 39.71% 36.94% -2.78% ========================================== Files 51 60 +9 Lines 6083 6897 +814 ========================================== + Hits 2416 2548 +132 - Misses 3448 4106 +658 - Partials 219 243 +24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 9 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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication