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/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/process.go') diff --git a/internal/app/process.go b/internal/app/process.go index 0962e212..f71479bc 100644 --- a/internal/app/process.go +++ b/internal/app/process.go @@ -289,7 +289,7 @@ func (k *outcome) main(msg message.Msg) { // shim accepted setup payload, create process state if ok, err := ms.store.Do(k.state.identity.unwrap(), func(c state.Cursor) { - if err := c.Save(&state.State{ + if err := c.Save(&hst.State{ ID: k.state.id.unwrap(), PID: ms.cmd.Process.Pid, Config: k.config, -- cgit v1.3.1