gofmt events_stream.go.

This commit is contained in:
Jeffrey Walter 2019-10-11 00:23:51 +03:00 committed by GitHub
parent e064b6ecb3
commit 77feb88c14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ func (e *eventStream) listen() (connected chan bool) {
connected <- true connected <- true
} else if notifyResponse.Status == "disconnected" { } else if notifyResponse.Status == "disconnected" {
e.disconnect() e.disconnect()
} else if notifyResponse.Action == "logout" { } else if notifyResponse.Action == "logout" {
e.disconnect() e.disconnect()
} else { } else {
e.subscriptions.rwmutex.RLock() e.subscriptions.rwmutex.RLock()