aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/errors.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-29 02:15:48 +0900
committerOphestra <cat@gensokyo.uk>2025-08-29 02:15:48 +0900
commit8d472ebf2b654e0b97b21b40a4333184fc2c0736 (patch)
treeda8917f72d6b19e4efdd8b4031f1ff19baf1c42d /container/errors.go
parent4da6463135f63658365d837e8d7dd69f0ca1468e (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.go4
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
}