From 77c33c777e0db0814bba95d3825b31a93ff4b9f6 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Wed, 27 Sep 2023 15:49:58 +0200 Subject: [PATCH] Warn and don't show a scary error in syncuser Signed-off-by: Christian Goll --- internal/pkg/container/syncuids.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pkg/container/syncuids.go b/internal/pkg/container/syncuids.go index 529b2e86..9234688a 100644 --- a/internal/pkg/container/syncuids.go +++ b/internal/pkg/container/syncuids.go @@ -113,8 +113,8 @@ func (db syncDB) checkConflicts() error { for nameInHost, hostIds := range db { if hostIds.HostID == containerIds.ContainerID { errorMsg := fmt.Sprintf("id(%v) collision: host(%s) container(%s)", containerIds.ContainerID, nameInHost, nameInContainer) - wwlog.Error(errorMsg) - wwlog.Error("add %s to host to resolve conflict", nameInContainer) + wwlog.Warn(errorMsg) + wwlog.Warn("add %s to host to resolve conflict", nameInContainer) return errors.New(errorMsg) } }