Merge pull request #8257 from dcantah/sandbox-local-info

Sandbox: Correct/add some fields to Status()
This commit is contained in:
Kazuyoshi Kato
2023-03-15 09:43:08 -07:00
committed by GitHub

View File

@@ -271,7 +271,9 @@ func (c *controllerLocal) Status(ctx context.Context, sandboxID string, verbose
SandboxID: resp.GetSandboxID(),
Pid: resp.GetPid(),
State: resp.GetState(),
ExitedAt: resp.GetCreatedAt().AsTime(),
Info: resp.GetInfo(),
CreatedAt: resp.GetCreatedAt().AsTime(),
ExitedAt: resp.GetExitedAt().AsTime(),
Extra: resp.GetExtra(),
}, nil
}