mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-07-31 04:22:44 +00:00
Add hooks fields to restore context (#2755)
* Add hooks fields to restore context Signed-off-by: Andrew Reed <andrew@replicated.com> * Changelog Signed-off-by: Andrew Reed <andrew@replicated.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Add wait group and error channel for restore hooks to restore context.
|
||||
@@ -317,6 +317,8 @@ type restoreContext struct {
|
||||
pvRenamer func(string) (string, error)
|
||||
discoveryHelper discovery.Helper
|
||||
resourcePriorities []string
|
||||
hooksWaitGroup sync.WaitGroup
|
||||
hooksErrs chan error
|
||||
}
|
||||
|
||||
type resourceClientKey struct {
|
||||
|
||||
Reference in New Issue
Block a user