mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +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:
|
||||
log.Println("Interrupt, closing")
|
||||
|
||||
if shClient.IsOpen() == false {
|
||||
if !shClient.IsOpen() {
|
||||
log.Println("ship client not connected, exiting...")
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue