diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:15:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:15:48 +0900 |
| commit | 8d472ebf2b654e0b97b21b40a4333184fc2c0736 (patch) | |
| tree | da8917f72d6b19e4efdd8b4031f1ff19baf1c42d /container/errors.go | |
| parent | 4da6463135f63658365d837e8d7dd69f0ca1468e (diff) | |
container/inittmpfs: unwrap out of bounds error
This eliminates generic WrapErr from tmpfs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/errors.go')
| -rw-r--r-- | container/errors.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/container/errors.go b/container/errors.go index 1a828e0f..8d8ad492 100644 --- a/container/errors.go +++ b/container/errors.go @@ -24,6 +24,10 @@ func messageFromError(err error) (string, bool) { return m, ok } + if m, ok := messagePrefix[TmpfsSizeError]("", err); ok { + return m, ok + } + return zeroString, false } |
