forked from urdt/ussd
Repalce missing context
This commit is contained in:
parent
6339f0c2e5
commit
721f80d0f2
@ -204,6 +204,7 @@ func(s *SshRunner) GetEngine(sessionId string) (engine.Engine, func(), error) {
|
|||||||
|
|
||||||
// adapted example from crypto/ssh package, NewServerConn doc
|
// adapted example from crypto/ssh package, NewServerConn doc
|
||||||
func(s *SshRunner) Run(ctx context.Context, keyStore *SshKeyStore) {
|
func(s *SshRunner) Run(ctx context.Context, keyStore *SshKeyStore) {
|
||||||
|
s.Ctx = ctx
|
||||||
running := true
|
running := true
|
||||||
|
|
||||||
// TODO: waitgroup should probably not be global
|
// TODO: waitgroup should probably not be global
|
||||||
|
Loading…
Reference in New Issue
Block a user