.github: add a staticcheck action (#326)
Add a staticcheck step to the lint job of the Test workflow, and fix reported diagnostics.
This commit is contained in:
parent
3db848abec
commit
46ba813860
1 changed files with 11 additions and 14 deletions
|
|
@ -178,10 +178,6 @@ type clientSessionState struct {
|
|||
|
||||
func (cs *ClientSession) InitializeResult() *InitializeResult { return cs.state.InitializeResult }
|
||||
|
||||
func (cs *ClientSession) setConn(c Connection) {
|
||||
cs.mcpConn = c
|
||||
}
|
||||
|
||||
func (cs *ClientSession) ID() string {
|
||||
if c, ok := cs.mcpConn.(hasSessionID); ok {
|
||||
return c.SessionID()
|
||||
|
|
|
|||
Loading…
Reference in a new issue