diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-23 22:51:10 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-23 22:59:02 +0900 |
| commit | dd94818f20c7a37bdd7c6129551759db1b09b65e (patch) | |
| tree | 1ea7c94b3f6aec92f037a3e58dc343c3b00cd5a2 /internal/app/process.go | |
| parent | 0fd357e7f64ec029489bbbcc7935005a26cb9a13 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/process.go')
| -rw-r--r-- | internal/app/process.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
