aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-23 23:25:46 +0900
committerOphestra <cat@gensokyo.uk>2025-10-24 00:42:16 +0900
commit2442eda8d960681d53e5f463a974a7f44ffe312e (patch)
treea30501452180df8f2966200a70a0599e767d631c /hst
parent05488bfb8f43f12bc0306e03b675d4f415fc6328 (diff)
hst/instance: embed config struct
This makes the resulting json easier to parse since it can now be deserialised into the config struct. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst')
-rw-r--r--hst/instance.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hst/instance.go b/hst/instance.go
index e2ad5a57..b59a7684 100644
--- a/hst/instance.go
+++ b/hst/instance.go
@@ -80,7 +80,7 @@ type State struct {
ShimPID int `json:"shim_pid"`
// Configuration used to start the container.
- Config *Config `json:"config"`
+ *Config
// Point in time the shim process was created.
Time time.Time `json:"time"`