(blocks []string, info SessionRecord)
| 788 | } |
| 789 | |
| 790 | func appendSessionSandboxBlock(blocks []string, info SessionRecord) []string { |
| 791 | if info.Sandbox == nil { |
| 792 | return blocks |
| 793 | } |
| 794 | return append(blocks, renderHumanSection("Sandbox", []keyValue{ |
| 795 | {Label: sessionBackendValue, Value: stringOrDash(info.Sandbox.Backend)}, |
| 796 | {Label: sessionProfileValue, Value: stringOrDash(info.Sandbox.Profile)}, |
| 797 | {Label: "Sandbox ID", Value: stringOrDash(info.Sandbox.SandboxID)}, |
| 798 | {Label: "Instance ID", Value: stringOrDash(info.Sandbox.InstanceID)}, |
| 799 | {Label: sessionStateValue, Value: stringOrDash(info.Sandbox.State)}, |
| 800 | {Label: "Last Sync Error", Value: stringOrDash(info.Sandbox.LastSyncError)}, |
| 801 | })) |
| 802 | } |
| 803 | |
| 804 | func appendSessionCapsBlock(blocks []string, info SessionRecord) []string { |
| 805 | if info.ACPCaps == nil { |
no test coverage detected