From a462341a0a3e1132f3fcdb1efb0f7a56e851a9e1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 29 Aug 2025 01:12:02 +0900 Subject: container: repeat and impossible state types This moves repeated Op errors and impossible internal state errors off of msg. Signed-off-by: Ophestra --- container/initbind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/initbind.go') diff --git a/container/initbind.go b/container/initbind.go index bda8cb6c..932095b9 100644 --- a/container/initbind.go +++ b/container/initbind.go @@ -63,7 +63,7 @@ func (b *BindMountOp) apply(_ *setupState, k syscallDispatcher) error { if b.sourceFinal == nil { if b.Flags&BindOptional == 0 { // unreachable - return msg.WrapErr(os.ErrClosed, "impossible bind state reached") + return OpStateError("bind") } return nil } -- cgit v1.3.1