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
|
|
@ -23,7 +23,7 @@ var _ = Describe("the container", func() {
|
|||
c := mockContainerWithPortBindings()
|
||||
c.containerInfo = nil
|
||||
err := c.VerifyConfiguration()
|
||||
Expect(err).To(Equal(errorInvalidConfig))
|
||||
Expect(err).To(Equal(errorNoContainerInfo))
|
||||
})
|
||||
})
|
||||
When("verifying a container with no config", func() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue