diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:04:09 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:04:09 +0900 |
| commit | 4da6463135f63658365d837e8d7dd69f0ca1468e (patch) | |
| tree | f68352b9b472c0883a3dc2e1911707ed46f8b232 /container/output.go | |
| parent | eb3385d490523262e26b6cb691a5e18a07a8b26d (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'container/output.go')
| -rw-r--r-- | container/output.go | 7 |
1 files changed, 0 insertions, 7 deletions
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()) -} |
