mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(main): terminate server if err returned by instanceId check is not nil (#4209)
This commit is contained in:
parent
00389a7da9
commit
32bac9ffcc
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ func main() {
|
|||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
} else if err == nil {
|
||||
} else if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue