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 86561fe commit 0f38884
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
11 changes: 5 additions & 6 deletions Gopkg.lock

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

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

[[constraint]]
name = "github.com/deislabs/cnab-go"
version = "v0.3.0-beta1"
version = "v0.3.1-beta1"

[[override]]
name = "github.com/google/go-containerregistry"
Expand Down
4 changes: 2 additions & 2 deletions cmd/duffle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"runtime"
"strings"

duffleDriver "github.com/deislabs/duffle/pkg/driver"
"github.com/deislabs/duffle/pkg/duffle/home"
"github.com/deislabs/duffle/pkg/loader"
"github.com/deislabs/duffle/pkg/reference"
Expand All @@ -18,6 +17,7 @@ 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"
)
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
2 changes: 1 addition & 1 deletion vendor/github.com/deislabs/cnab-go/bundle/bundle.go

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

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

0 comments on commit 0f38884

Please sign in to comment.