From 87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Oct 2025 05:04:08 +0900 Subject: message: relocate from container This package is quite useful. This change allows it to be imported without importing container. Signed-off-by: Ophestra --- internal/app/finalise.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/app/finalise.go') diff --git a/internal/app/finalise.go b/internal/app/finalise.go index a2a8f30e..7693f253 100644 --- a/internal/app/finalise.go +++ b/internal/app/finalise.go @@ -8,9 +8,9 @@ import ( "os/user" "sync/atomic" - "hakurei.app/container" "hakurei.app/hst" "hakurei.app/internal/app/state" + "hakurei.app/message" "hakurei.app/system" ) @@ -37,7 +37,7 @@ type outcome struct { syscallDispatcher } -func (k *outcome) finalise(ctx context.Context, msg container.Msg, id *state.ID, config *hst.Config) error { +func (k *outcome) finalise(ctx context.Context, msg message.Msg, id *state.ID, config *hst.Config) error { if ctx == nil || id == nil { // unreachable panic("invalid call to finalise") -- cgit v1.3.1