sessionID resolves the manager session key, mirroring knowledgePluginAdapter.
()
| 39 | |
| 40 | // sessionID resolves the manager session key, mirroring knowledgePluginAdapter. |
| 41 | func (a *contextPluginAdapter) sessionID() string { |
| 42 | if a.cli.currentSessionName != "" { |
| 43 | return a.cli.currentSessionName |
| 44 | } |
| 45 | return "default" |
| 46 | } |
| 47 | |
| 48 | func (a *contextPluginAdapter) manager() *ctxmgr.Manager { |
| 49 | if a.cli.contextHandler == nil { |
no outgoing calls
no test coverage detected