Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use VolumeInfo to help restore the PV. #7138

Merged
merged 3 commits into from
Dec 5, 2023

Modify restore logic.

28df14d
Select commit
Loading
Failed to load commit list.
Merged

Use VolumeInfo to help restore the PV. #7138

Modify restore logic.
28df14d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 5, 2023 in 0s

80.45% of diff hit (target 61.94%)

View this Pull Request on Codecov

80.45% of diff hit (target 61.94%)

Annotations

Check warning on line 203 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L200-L203

Added lines #L200 - L203 were not covered by tests

Check warning on line 209 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L205-L209

Added lines #L205 - L209 were not covered by tests

Check warning on line 231 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L218-L231

Added lines #L218 - L231 were not covered by tests

Check warning on line 313 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L313

Added line #L313 was not covered by tests

Check warning on line 463 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L461-L463

Added lines #L461 - L463 were not covered by tests

Check warning on line 526 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L525-L526

Added lines #L525 - L526 were not covered by tests

Check warning on line 547 in internal/volume/volumes_information.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/volume/volumes_information.go#L546-L547

Added lines #L546 - L547 were not covered by tests

Check warning on line 96 in pkg/backup/request.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/backup/request.go#L91-L96

Added lines #L91 - L96 were not covered by tests

Check warning on line 102 in pkg/backup/request.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/backup/request.go#L98-L102

Added lines #L98 - L102 were not covered by tests

Check warning on line 528 in pkg/controller/restore_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/restore_controller.go#L527-L528

Added lines #L527 - L528 were not covered by tests

Check warning on line 532 in pkg/controller/restore_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/restore_controller.go#L531-L532

Added lines #L531 - L532 were not covered by tests

Check warning on line 1245 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L1245

Added line #L1245 was not covered by tests

Check warning on line 1265 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L1264-L1265

Added lines #L1264 - L1265 were not covered by tests

Check warning on line 1285 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L1285

Added line #L1285 was not covered by tests

Check warning on line 1301 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L1299-L1301

Added lines #L1299 - L1301 were not covered by tests

Check warning on line 1307 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L1305-L1307

Added lines #L1305 - L1307 were not covered by tests

Check warning on line 1311 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L1309-L1311

Added lines #L1309 - L1311 were not covered by tests

Check warning on line 1341 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L1339-L1341

Added lines #L1339 - L1341 were not covered by tests

Check warning on line 2441 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L2440-L2441

Added lines #L2440 - L2441 were not covered by tests

Check warning on line 2448 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L2447-L2448

Added lines #L2447 - L2448 were not covered by tests

Check warning on line 2457 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L2456-L2457

Added lines #L2456 - L2457 were not covered by tests

Check warning on line 2476 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L2475-L2476

Added lines #L2475 - L2476 were not covered by tests

Check warning on line 2491 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L2490-L2491

Added lines #L2490 - L2491 were not covered by tests

Check warning on line 2523 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L2522-L2523

Added lines #L2522 - L2523 were not covered by tests

Check warning on line 2532 in pkg/restore/restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restore/restore.go#L2531-L2532

Added lines #L2531 - L2532 were not covered by tests