Send connected RPC to controller (#386)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-09-20 23:09:42 -04:00
1 parent 5370111336
commit 7ff4b7f106
11 files changed
+444 -108

No files matched your search

+2 -1
View File
@@ -404,6 +404,7 @@ Wait:
for {
select {
case <-c.Context.Done():
termInfo.Reason = "Received shutdown signal"
timer.Stop()
break Wait
case <-timer.C:
@@ -412,7 +413,7 @@ Wait:
case connsLeft := <-c.connsLeftCh:
c.updateConnsLeft(connsLeft)
if connsLeft == 0 {
termInfo.Reason = "No connections left"
termInfo.Reason = "No connections left in session"
break Wait
}
}