File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,6 @@ type State struct {
6565 ID string `json:"id"`
6666 // Pid is the process id for the container's main process.
6767 Pid int `json:"pid"`
68- // Root is the path to the container's bundle directory.
69- Root string `json:"root "`
68+ // BundlePath is the path to the container's bundle directory.
69+ BundlePath string `json:"bundlePath "`
7070}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ By providing a default location that container state is stored external applicat
1212* ** ` version ` ** (string) Version of the OCI specification used when creating the container.
1313* ** ` id ` ** (string) ID is the container's ID.
1414* ** ` pid ` ** (int) Pid is the ID of the main process within the container.
15- * ** ` root ` ** (string) Root is the path to the container's bundle directory.
15+ * ** ` bundlePath ` ** (string) BundlePath is the path to the container's bundle directory.
1616
1717The ID is provided in the state because hooks will be executed with the state as the payload.
1818This allows the hook to perform clean and teardown logic after the runtime destroys its own state.
You can’t perform that action at this time.
0 commit comments