summaryrefslogtreecommitdiff
path: root/src/rhctl/web_socket.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl/web_socket.go')
-rw-r--r--src/rhctl/web_socket.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhctl/web_socket.go b/src/rhctl/web_socket.go
index 8d68dc3..5f90100 100644
--- a/src/rhctl/web_socket.go
+++ b/src/rhctl/web_socket.go
@@ -65,6 +65,7 @@ func sendWebSocketStateResponse(ws *websocket.Conn, state State) {
rd.ResponseCode = http.StatusOK
rd.Type = "state"
rd.ErrorString = "OK"
+ rd.State = state
sendWebSocketResponse(ws, rd)
}