Skip to content

Commit

Permalink
Fix compile error with stopping container.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-osman committed Jul 27, 2023
1 parent 66c7748 commit edec33d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockmon/dockmon.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"time"

"github.com/docker/docker/api/types"
container_types "github.com/docker/docker/api/types/container"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/client"
"github.com/nathan-osman/i5/container"
Expand Down Expand Up @@ -246,7 +247,7 @@ func (d *Dockmon) StopContainer(ctx context.Context, id string) error {
return d.client.ContainerStop(
ctx,
id,
nil,
container_types.StopOptions{},
)
}

Expand Down

0 comments on commit edec33d

Please sign in to comment.