Correctly connect to running containers

This commit is contained in:
Dane Everitt
2019-06-29 17:52:55 -07:00
parent aa710ec9d6
commit 7c82c6445d
3 changed files with 6 additions and 4 deletions

View File

@@ -78,9 +78,6 @@ func (rt *Router) routeWebsocket(w http.ResponseWriter, r *http.Request, ps http
defer s.RemoveListener(server.ConsoleOutputEvent, &handleOutput)
s.Emit(server.StatusEvent, s.State)
if s.State != server.ProcessOfflineState {
handler.HandleInbound(WebsocketMessage{inbound: true, Event: SendServerLogsEvent})
}
for {
j := WebsocketMessage{inbound: true}