Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
fix verify
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <chuckh@vmware.com>
  • Loading branch information
chuckha committed Jul 3, 2019
1 parent 414d24e commit 1448394
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/capdctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func makeManagementCluster(clusterName, capiVersion, capdImage, capiImageOverrid
panic(err)
}
defer os.Remove(f.Name())
crds, err := GetCRDs(capiVersion)
crds, err := getCRDs(capiVersion)
if err != nil {
panic(err)
}
Expand Down Expand Up @@ -401,8 +401,7 @@ spec:
operator: Exists
`

// fetch CRDs
func GetCRDs(version string) (string, error) {
func getCRDs(version string) (string, error) {
crds := []string{"crds", "rbac"}
releaseCode := fmt.Sprintf("https://github.com/kubernetes-sigs/cluster-api/archive/%s.tar.gz", version)

Expand Down

0 comments on commit 1448394

Please sign in to comment.