mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
4684fbe1e3
commit
4ff210dfa6
1 changed files with 1 additions and 4 deletions
|
@ -48,10 +48,7 @@ func (c *Client) poller() {
|
|||
for ts := range t.C {
|
||||
if err := c.connect(); err != nil {
|
||||
log.Warning("Error while connecting to UI service: %s", err)
|
||||
continue
|
||||
}
|
||||
|
||||
if c.con.GetState() == connectivity.Ready {
|
||||
} else if c.con.GetState() == connectivity.Ready {
|
||||
if err := c.ping(ts); err != nil {
|
||||
log.Warning("Error while pinging UI service: %s", err)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue