mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
feat: use a more specific error type for no container info (#1115)
Co-authored-by: Jeremy L. Morris <jmorris@digitalocean.com>
This commit is contained in:
parent
ac00e4844e
commit
d9d6f794a1
3 changed files with 3 additions and 2 deletions
|
|
@ -3,5 +3,6 @@ package container
|
|||
import "errors"
|
||||
|
||||
var errorNoImageInfo = errors.New("no available image info")
|
||||
var errorNoContainerInfo = errors.New("no available container info")
|
||||
var errorNoExposedPorts = errors.New("exposed ports does not match port bindings")
|
||||
var errorInvalidConfig = errors.New("container configuration missing or invalid")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue