From 4da6463135f63658365d837e8d7dd69f0ca1468e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 29 Aug 2025 02:04:09 +0900 Subject: container/init: unwrap path errors These are also now handled by init properly, so wrapping them in self is meaningless and unreachable. Signed-off-by: Ophestra --- container/output.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'container/output.go') diff --git a/container/output.go b/container/output.go index 6bedd55b..4fd9f095 100644 --- a/container/output.go +++ b/container/output.go @@ -17,10 +17,3 @@ func wrapErrSuffix(err error, a ...any) error { } return msg.WrapErr(err, append(a, err)...) } - -func wrapErrSelf(err error) error { - if err == nil { - return nil - } - return msg.WrapErr(err, err.Error()) -} -- cgit v1.3.1