Skip to content

Commit e096bff

Browse files
committed
fix: do not use moby types
Just use docker/docker directly to reduce type confusion.
1 parent 0711e8a commit e096bff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

commands/watch.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ import (
1414
"github.com/docker/docker/api/types/filters"
1515
"github.com/docker/docker/client"
1616
"github.com/josegonzalez/cli-skeleton/command"
17-
"github.com/moby/moby/api/types"
1817
"github.com/posener/complete"
1918
"github.com/rs/zerolog"
2019
"github.com/rs/zerolog/log"
2120
flag "github.com/spf13/pflag"
2221
)
2322

24-
type containerMap map[string]*types.ContainerJSON
23+
type containerMap map[string]*container.InspectResponse
2524

2625
// ShellCmd represents a shell command to be run
2726
type ShellCmd struct {

0 commit comments

Comments
 (0)