Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit bc0a6bf

Browse files
committed
remove store2, use readable names
Signed-off-by: Yves Brissaud <[email protected]>
1 parent e890e66 commit bc0a6bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/cnab/driver.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import (
77
"strings"
88

99
"github.com/docker/app/internal/cliopts"
10-
store2 "github.com/docker/app/internal/store"
10+
"github.com/docker/app/internal/store"
1111

1212
"github.com/deislabs/cnab-go/claim"
1313
"github.com/deislabs/cnab-go/driver"
1414
dockerDriver "github.com/deislabs/cnab-go/driver/docker"
1515
"github.com/docker/app/internal"
1616
"github.com/docker/cli/cli/command"
1717
"github.com/docker/cli/cli/context/docker"
18-
"github.com/docker/cli/cli/context/store"
18+
cliContext "github.com/docker/cli/cli/context/store"
1919
"github.com/docker/docker/api/types/container"
2020
"github.com/docker/docker/api/types/mount"
2121
)
@@ -39,7 +39,7 @@ func RequiredClaimBindMount(c claim.Claim, dockerCli command.Cli) (BindMount, er
3939

4040
// RequiredBindMount Returns the path required to bind mount when running
4141
// the invocation image.
42-
func RequiredBindMount(targetContextName string, targetOrchestrator string, s store.Store) (BindMount, error) {
42+
func RequiredBindMount(targetContextName string, targetOrchestrator string, s cliContext.Store) (BindMount, error) {
4343
if targetOrchestrator == "kubernetes" {
4444
return BindMount{}, nil
4545
}
@@ -119,7 +119,7 @@ func prepareDriver(dockerCli command.Cli, bindMount BindMount, stdout io.Writer)
119119
return d, errBuf
120120
}
121121

122-
func SetupDriver(installation *store2.Installation, dockerCli command.Cli, opts *cliopts.InstallerContextOptions, stdout io.Writer) (driver.Driver, *bytes.Buffer, error) {
122+
func SetupDriver(installation *store.Installation, dockerCli command.Cli, opts *cliopts.InstallerContextOptions, stdout io.Writer) (driver.Driver, *bytes.Buffer, error) {
123123
dockerCli, err := opts.SetInstallerContext(dockerCli)
124124
if err != nil {
125125
return nil, nil, err

0 commit comments

Comments
 (0)