(raw any)
| 4770 | } |
| 4771 | |
| 4772 | func contextStringValue(raw any) string { |
| 4773 | switch v := raw.(type) { |
| 4774 | case string: |
| 4775 | return strings.TrimSpace(v) |
| 4776 | case []byte: |
| 4777 | return strings.TrimSpace(string(v)) |
| 4778 | default: |
| 4779 | return "" |
| 4780 | } |
| 4781 | } |
| 4782 | |
| 4783 | func homeExecutionSessionIDFromMetadata(meta map[string]any) string { |
| 4784 | if len(meta) == 0 { |
no outgoing calls
no test coverage detected