mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
fix linting and formatting
This commit is contained in:
parent
00715e4633
commit
4672811983
7 changed files with 30 additions and 31 deletions
|
|
@ -8,8 +8,8 @@ import (
|
|||
"github.com/containrrr/watchtower/pkg/container"
|
||||
"github.com/containrrr/watchtower/pkg/container/mocks"
|
||||
|
||||
cli "github.com/docker/docker/client"
|
||||
"github.com/docker/docker/api/types"
|
||||
cli "github.com/docker/docker/client"
|
||||
|
||||
. "github.com/containrrr/watchtower/internal/actions/mocks"
|
||||
. "github.com/onsi/ginkgo"
|
||||
|
|
@ -35,7 +35,7 @@ var _ = Describe("the actions package", func() {
|
|||
removeVolumes := false
|
||||
|
||||
client = CreateMockClient(
|
||||
&TestData {},
|
||||
&TestData{},
|
||||
dockerClient,
|
||||
pullImages,
|
||||
removeVolumes,
|
||||
|
|
@ -143,4 +143,4 @@ func createMockContainer(id string, name string, image string, created time.Time
|
|||
},
|
||||
}
|
||||
return *container.NewContainer(&content, nil)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue