Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

correct logic error on disabling monitoring

  • Loading branch information...
commit 2b95a9f4d133e9430b0d68d9bd4d5bcdafc0368a 1 parent 479c4e2
Jeffrey Hulten authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  event.go
View
2  event.go
@@ -115,7 +115,7 @@ func (eventState *EventMonitoringState) enableEventMonitoring(c *Client) error {
func (eventState *EventMonitoringState) disableEventMonitoring() error {
eventState.Lock()
defer eventState.Unlock()
- if !eventState.enabled {
+ if eventState.enabled {
eventState.enabled = false
close(eventState.C)
close(eventState.errC)
Please sign in to comment.
Something went wrong with that request. Please try again.