Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
GatewayClient is configured if token not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
htdvisser committed Dec 22, 2016
1 parent 1743371 commit 5799f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/monitor/client.go
Expand Up @@ -216,7 +216,7 @@ func (cl *gatewayClient) SetToken(token string) {
func (cl *gatewayClient) IsConfigured() bool {
cl.RLock()
defer cl.RUnlock()
return cl.token != "" && cl.token != "token"
return cl.token != ""
}

// Close closes all opened monitor streams for the gateway
Expand Down

0 comments on commit 5799f0c

Please sign in to comment.