()
| 212 | } |
| 213 | |
| 214 | func (s *Session) Close() error { |
| 215 | req := rpc.NewTSCloseSessionReq() |
| 216 | req.SessionId = s.sessionId |
| 217 | _, err := s.client.CloseSession(context.Background(), req) |
| 218 | if err != nil { |
| 219 | return err |
| 220 | } |
| 221 | return s.trans.Close() |
| 222 | } |
| 223 | |
| 224 | /* |
| 225 | *set one storage group |
nothing calls this directly
no test coverage detected