From 06fbd2b5194509c6e3665cdb2ba5d194cb6cc089 Mon Sep 17 00:00:00 2001 From: gagliardetto Date: Thu, 3 Aug 2023 15:27:22 +0200 Subject: [PATCH] Don't exit on existing overrides --- pkg/blockstore/schedule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/blockstore/schedule.go b/pkg/blockstore/schedule.go index 12ad183..cb8be1c 100644 --- a/pkg/blockstore/schedule.go +++ b/pkg/blockstore/schedule.go @@ -489,7 +489,7 @@ func (schedule *TraversalSchedule) init( klog.Infof(("override worked: %d -> %d (recovered missing root)"), gotRoot, wanted) if existingOverride, ok := overrides[gotRoot]; ok { if existingOverride != wanted { - return fmt.Errorf("Override already exists: %d -> %d", gotRoot, existingOverride) + klog.Infof("Override already exists: %d -> %d", gotRoot, existingOverride) } } else { overrides[gotRoot] = wanted