mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
Session report collection and report templates (#981)
* wip: notification stats * make report notifications optional * linting/documentation fixes * linting/documentation fixes * merge types.Container and container.Interface * smaller naming/format fixes * use typed image/container IDs * simplify notifier and update tests * add missed doc comments * lint fixes * remove unused constructors * rename old/new current/latest
This commit is contained in:
parent
d0ecc23d72
commit
e3dd8d688a
32 changed files with 853 additions and 598 deletions
|
|
@ -204,8 +204,8 @@ var _ = Describe("the container", func() {
|
|||
It("should return its ID on calls to .ID()", func() {
|
||||
id := c.ID()
|
||||
|
||||
Expect(id).To(Equal("container_id"))
|
||||
Expect(id).NotTo(Equal("wrong-id"))
|
||||
Expect(id).To(BeEquivalentTo("container_id"))
|
||||
Expect(id).NotTo(BeEquivalentTo("wrong-id"))
|
||||
})
|
||||
It("should return true, true if enabled on calls to .Enabled()", func() {
|
||||
enabled, exists := c.Enabled()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue