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

Commit

Permalink
Convert Azure/go-autorest dep to a constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
scothis committed Jun 21, 2019
1 parent 7ed6e0e commit 9778d1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 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 @@ -95,7 +95,7 @@
name = "golang.org/x/sys"
revision = "f49334f85ddcf0f08d7fb6dd7363e9e6d6b777eb"

[[override]]
[[constraint]]
# version imported by k8s.io/client-go @ kubernetes-1.11.2
name = "github.com/Azure/go-autorest"
revision = "1ff28809256a84bb6966640ff3d0371af82ccba4"
2 changes: 2 additions & 0 deletions pkg/driver/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (

// load credential helpers
_ "k8s.io/client-go/plugin/pkg/client/auth"
// Convert transitive deps to direct deps so that we can use constraints in our Gopkg.toml
_ "github.com/Azure/go-autorest/autorest"

"github.com/deislabs/cnab-go/driver"
batchv1 "k8s.io/api/batch/v1"
Expand Down

0 comments on commit 9778d1a

Please sign in to comment.