From 2442eda8d960681d53e5f463a974a7f44ffe312e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 23 Oct 2025 23:25:46 +0900 Subject: 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 --- hst/instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hst/instance.go') 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"` -- cgit v1.3.1