Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
Pin version of Azure/go-autorest to > v12.0.1
Browse files Browse the repository at this point in the history
* This version split the library into many mini-modules
* Having some of our upstream dependencies use an older version
led to `ambiguos import` errors, where `go-autorest/autorest` was
found in both `go-autorest v11.1.2` and `go-autorest/autorestv0.9.3`
* See issue in autorest repo: Azure/go-autorest#414
* In the future we want to remove the `replace` workaround as this is
a bad pattern; ideally all dependencies would be using newer (v12.0.1+) versions
of autorest.

Co-authored-by: Sannidhi Jalukar <sjalukar@pivotal.io>
Co-authored-by: Renee Chu <rchu@pivotal.io>
  • Loading branch information
Sannidhi Jalukar and reneighbor committed May 18, 2020
1 parent d39a841 commit 4002630
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/capi-kpack-watcher/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ require (
k8s.io/api v0.17.4
k8s.io/client-go v0.17.4
)

replace github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.0.0+incompatible

0 comments on commit 4002630

Please sign in to comment.