From 52504b548dd63d249f7ebceebc6a8c9ab95b4a66 Mon Sep 17 00:00:00 2001 From: Zadkiel Date: Thu, 18 Feb 2021 19:32:32 +0100 Subject: [PATCH] fix typo in item_hook_handler (#3361) Signed-off-by: GitHub --- internal/hook/item_hook_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/hook/item_hook_handler.go b/internal/hook/item_hook_handler.go index 7c80dec4a..5631b3359 100644 --- a/internal/hook/item_hook_handler.go +++ b/internal/hook/item_hook_handler.go @@ -123,7 +123,7 @@ func (i *InitContainerRestoreHookHandler) HandleRestoreHooks( // If this pod had pod volumes backed up using restic, then we want to the pod volumes restored prior to // running the restore hook init containers. This allows the restore hook init containers to prepare the // restored data to be consumed by the application container(s). - // So if there is a "resitc-wait" init container already on the pod at index 0, we'll preserve that and run + // So if there is a "restic-wait" init container already on the pod at index 0, we'll preserve that and run // it before running any other init container. if len(pod.Spec.InitContainers) > 0 && pod.Spec.InitContainers[0].Name == restic.InitContainer { initContainers = append(initContainers, pod.Spec.InitContainers[0])