mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
main.go: Simplify boolean expression because the linter says so.
This commit is contained in:
parent
b24d8d1e2c
commit
bcc0fcd7d7
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -111,7 +111,7 @@ func run() {
|
||||||
case <-interrupt:
|
case <-interrupt:
|
||||||
log.Println("Interrupt, closing")
|
log.Println("Interrupt, closing")
|
||||||
|
|
||||||
if shClient.IsOpen() == false {
|
if !shClient.IsOpen() {
|
||||||
log.Println("ship client not connected, exiting...")
|
log.Println("ship client not connected, exiting...")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue