fix(main): terminate server if err returned by instanceId check is not nil (#4209)

pull/4214/head
Chaim Lev-Ari 2020-08-14 02:41:39 +03:00 committed by GitHub
parent 00389a7da9
commit 32bac9ffcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ func main() {
if err != nil {
log.Fatal(err)
}
} else if err == nil {
} else if err != nil {
log.Fatal(err)
}