From dd94818f20c7a37bdd7c6129551759db1b09b65e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 23 Oct 2025 22:51:10 +0900 Subject: hst/instance: define instance state This is now part of the hst API. This change also improves identifier generation and serialisation. Signed-off-by: Ophestra --- internal/app/finalise.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/app/finalise.go') diff --git a/internal/app/finalise.go b/internal/app/finalise.go index 52a38faa..6cb4f586 100644 --- a/internal/app/finalise.go +++ b/internal/app/finalise.go @@ -9,7 +9,6 @@ import ( "sync/atomic" "hakurei.app/hst" - "hakurei.app/internal/app/state" "hakurei.app/message" "hakurei.app/system" ) @@ -37,7 +36,7 @@ type outcome struct { syscallDispatcher } -func (k *outcome) finalise(ctx context.Context, msg message.Msg, id *state.ID, config *hst.Config) error { +func (k *outcome) finalise(ctx context.Context, msg message.Msg, id *hst.ID, config *hst.Config) error { if ctx == nil || id == nil { // unreachable panic("invalid call to finalise") -- cgit v1.3.1