Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
ref(pkg/driver): remove pkg/driver; use cnab-go for needed logic
Browse files Browse the repository at this point in the history
  • Loading branch information
vdice committed Aug 14, 2019
1 parent 006db28 commit 6447f00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cmd/duffle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (
"github.com/deislabs/cnab-go/claim"
"github.com/deislabs/cnab-go/credentials"
"github.com/deislabs/cnab-go/driver"
"github.com/deislabs/cnab-go/driver/lookup"
"github.com/deislabs/cnab-go/utils/crud"
"github.com/spf13/cobra"

duffleDriver "github.com/deislabs/duffle/pkg/driver"
"github.com/deislabs/duffle/pkg/duffle/home"
"github.com/deislabs/duffle/pkg/reference"
)
Expand Down Expand Up @@ -112,7 +112,7 @@ func must(err error) {

// prepareDriver prepares a driver per the user's request.
func prepareDriver(driverName string, relMap string) (driver.Driver, error) {
driverImpl, err := duffleDriver.Lookup(driverName)
driverImpl, err := lookup.Lookup(driverName)
if err != nil {
return nil, err
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6447f00

Please sign in to comment.