Skip to content

Instantly share code, notes, and snippets.

@tghartland
Created February 13, 2019 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tghartland/e564a2e57b09e7008a82b4ad18b5c4da to your computer and use it in GitHub Desktop.
Save tghartland/e564a2e57b09e7008a82b4ad18b5c4da to your computer and use it in GitHub Desktop.
autoscaler with gophercloud master branch
$ make test-unit
rm -f cluster-autoscaler
go get github.com/tools/godep
GOOS=linux godep go build ./...
# k8s.io/autoscaler/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/cloudprovider/providers/openstack
vendor/k8s.io/kubernetes/pkg/cloudprovider/providers/openstack/openstack_volumes.go:259:26: not enough arguments in call to "k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/openstack/blockstorage/v2/volumes".Delete
have (*gophercloud.ServiceClient, string)
want (*gophercloud.ServiceClient, string, "k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/openstack/blockstorage/v2/volumes".DeleteOptsBuilder)
vendor/k8s.io/kubernetes/pkg/cloudprovider/providers/openstack/openstack_volumes.go:267:26: not enough arguments in call to "k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/openstack/blockstorage/v3/volumes".Delete
have (*gophercloud.ServiceClient, string)
want (*gophercloud.ServiceClient, string, "k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/openstack/blockstorage/v3/volumes".DeleteOptsBuilder)
godep: go exit status 2
Makefile:22: recipe for target 'build' failed
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment