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

Commit

Permalink
Merge pull request #833 from vdice/ref/rm-driver-pkg
Browse files Browse the repository at this point in the history
ref(pkg/driver): remove pkg/driver; use cnab-go for needed logic
  • Loading branch information
vdice authored Aug 19, 2019
2 parents 006db28 + 6447f00 commit ef79d26
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 ef79d26

Please sign in to comment.