@@ -28,10 +28,10 @@ import (
28
28
"github.com/docker/cli/cli"
29
29
"github.com/docker/cli/cli-plugins/plugin"
30
30
"github.com/docker/cli/cli/command"
31
+ "github.com/docker/index-cli-plugin/internal"
31
32
"github.com/docker/index-cli-plugin/query"
32
33
"github.com/docker/index-cli-plugin/sbom"
33
34
"github.com/docker/index-cli-plugin/types"
34
- "github.com/docker/index-cli-plugin/util"
35
35
v1 "github.com/google/go-containerregistry/pkg/v1"
36
36
"github.com/moby/term"
37
37
"github.com/pkg/errors"
@@ -251,7 +251,7 @@ func NewRootCmd(name string, isPlugin bool, dockerCli command.Cli) *cobra.Comman
251
251
}
252
252
253
253
// see if the package comes in via the base image
254
- s := util .StartInfoSpinner ("Detecting base image" , dockerCli .Out ().IsTerminal ())
254
+ s := internal .StartInfoSpinner ("Detecting base image" , dockerCli .Out ().IsTerminal ())
255
255
defer s .Stop ()
256
256
baseImages , index , _ := query .Detect (img , true , workspace , apiKey )
257
257
s .Stop ()
@@ -266,7 +266,7 @@ func NewRootCmd(name string, isPlugin bool, dockerCli command.Cli) *cobra.Comman
266
266
}
267
267
268
268
if baseImage != nil {
269
- s := util .StartInfoSpinner ("Finding alternative base images" , dockerCli .Out ().IsTerminal ())
269
+ s := internal .StartInfoSpinner ("Finding alternative base images" , dockerCli .Out ().IsTerminal ())
270
270
defer s .Stop ()
271
271
aBaseImage , _ := query .ForBaseImageWithoutCve (c .SourceId , baseImage .Repository .Name , img , workspace , apiKey )
272
272
s .Stop ()
0 commit comments