Fix backup post hook issue #8490
86.57% of diff hit (target 59.02%)
View this Pull Request on Codecov
86.57% of diff hit (target 59.02%)
Annotations
Check warning on line 98 in internal/hook/handler.go
codecov / codecov/patch
internal/hook/handler.go#L97-L98
Added lines #L97 - L98 were not covered by tests
Check warning on line 51 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L48-L51
Added lines #L48 - L51 were not covered by tests
Check warning on line 59 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L58-L59
Added lines #L58 - L59 were not covered by tests
Check warning on line 63 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L62-L63
Added lines #L62 - L63 were not covered by tests
Check warning on line 67 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L66-L67
Added lines #L66 - L67 were not covered by tests
Check warning on line 71 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L70-L71
Added lines #L70 - L71 were not covered by tests
Check warning on line 119 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L118-L119
Added lines #L118 - L119 were not covered by tests
Check warning on line 121 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L121
Added line #L121 was not covered by tests
Check warning on line 127 in internal/hook/parser.go
codecov / codecov/patch
internal/hook/parser.go#L126-L127
Added lines #L126 - L127 were not covered by tests
Check warning on line 53 in internal/hook/pod_backup_post_hook_handler.go
codecov / codecov/patch
internal/hook/pod_backup_post_hook_handler.go#L52-L53
Added lines #L52 - L53 were not covered by tests
Check warning on line 42 in internal/hook/pod_backup_pre_hook_handler.go
codecov / codecov/patch
internal/hook/pod_backup_pre_hook_handler.go#L41-L42
Added lines #L41 - L42 were not covered by tests
Check warning on line 167 in pkg/backup/backup.go
codecov / codecov/patch
pkg/backup/backup.go#L167
Added line #L167 was not covered by tests
Check warning on line 648 in pkg/backup/backup.go
codecov / codecov/patch
pkg/backup/backup.go#L646-L648
Added lines #L646 - L648 were not covered by tests
Check warning on line 690 in pkg/backup/backup.go
codecov / codecov/patch
pkg/backup/backup.go#L689-L690
Added lines #L689 - L690 were not covered by tests
Check warning on line 330 in pkg/podvolume/backupper.go
codecov / codecov/patch
pkg/podvolume/backupper.go#L329-L330
Added lines #L329 - L330 were not covered by tests