Skip to content

Fix snapshot leak for backup

Codecov / codecov/patch failed Apr 1, 2024 in 0s

56.81% of diff hit (target 61.84%)

View this Pull Request on Codecov

56.81% of diff hit (target 61.84%)

Annotations

Check warning on line 411 in pkg/cmd/cli/nodeagent/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cmd/cli/nodeagent/server.go#L410-L411

Added lines #L410 - L411 were not covered by tests

Check warning on line 696 in pkg/controller/data_upload_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/data_upload_controller.go#L695-L696

Added lines #L695 - L696 were not covered by tests

Check warning on line 229 in pkg/controller/pod_volume_backup_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/pod_volume_backup_controller.go#L229

Added line #L229 was not covered by tests

Check warning on line 352 in pkg/controller/pod_volume_backup_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/pod_volume_backup_controller.go#L352

Added line #L352 was not covered by tests

Check warning on line 357 in pkg/controller/pod_volume_backup_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/pod_volume_backup_controller.go#L357

Added line #L357 was not covered by tests

Check warning on line 364 in pkg/controller/pod_volume_backup_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/pod_volume_backup_controller.go#L361-L364

Added lines #L361 - L364 were not covered by tests

Check warning on line 310 in pkg/uploader/kopia/snapshot.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/uploader/kopia/snapshot.go#L309-L310

Added lines #L309 - L310 were not covered by tests

Check warning on line 178 in pkg/uploader/provider/kopia.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/uploader/provider/kopia.go#L177-L178

Added lines #L177 - L178 were not covered by tests

Check warning on line 182 in pkg/uploader/provider/kopia.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/uploader/provider/kopia.go#L182

Added line #L182 was not covered by tests