feature/112: fix linting issues

This commit is contained in:
Simon Aronsson 2019-04-28 15:48:00 +02:00
parent f35347de14
commit ad90af6276

View file

@ -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() {