aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/instance.go
diff options
context:
space:
mode:
Diffstat (limited to 'hst/instance.go')
-rw-r--r--hst/instance.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/hst/instance.go b/hst/instance.go
index 5d15df6b..e2ad5a57 100644
--- a/hst/instance.go
+++ b/hst/instance.go
@@ -74,8 +74,11 @@ func (a *ID) UnmarshalText(text []byte) error {
type State struct {
// Unique instance id, created by [NewInstanceID].
ID ID `json:"instance"`
- // Shim process pid. Runs as the target user.
+ // Monitoring process pid. Runs as the priv user.
PID int `json:"pid"`
+ // Shim process pid. Runs as the target user.
+ ShimPID int `json:"shim_pid"`
+
// Configuration used to start the container.
Config *Config `json:"config"`