Skip to content

Commit

Permalink
Merge pull request warewulf#932 from mslacken/WarnNotErr
Browse files Browse the repository at this point in the history
warn and don't show scary error on syncuids
  • Loading branch information
anderbubble authored Dec 9, 2023
2 parents 98b36a5 + 77c33c7 commit 9c698d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pkg/container/syncuids.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 9c698d7

Please sign in to comment.