mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
idlewatcher: fix visiting unhealthy idle watched container causes panic
This commit is contained in:
parent
5faba1b5a9
commit
5d3a93f103
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ func (w *Watcher) wakeIfStopped() error {
|
|||
case "running":
|
||||
return nil
|
||||
default:
|
||||
panic(errShouldNotReachHere)
|
||||
return E.Errorf("unexpected container status: %s", status)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue