mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
feature/112: fix linting issues
This commit is contained in:
parent
f35347de14
commit
ad90af6276
1 changed files with 2 additions and 2 deletions
|
|
@ -189,11 +189,11 @@ func (client dockerClient) StartContainer(c Container) error {
|
|||
|
||||
}
|
||||
|
||||
return client.startContainerIfPreviouslyRunning(c, creation, bg)
|
||||
return client.startContainerIfPreviouslyRunning(bg, c, creation)
|
||||
|
||||
}
|
||||
|
||||
func (client dockerClient) startContainerIfPreviouslyRunning(c Container, creation container.ContainerCreateCreatedBody, bg context.Context) error {
|
||||
func (client dockerClient) startContainerIfPreviouslyRunning(bg context.Context, c Container, creation container.ContainerCreateCreatedBody) error {
|
||||
name := c.Name()
|
||||
|
||||
if !c.IsRunning() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue