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

listVirtualMachines can't work for CloudStack client of latest vertion #131

Closed
kuku945 opened this issue Aug 11, 2020 · 4 comments
Closed

Comments

@kuku945
Copy link

kuku945 commented Aug 11, 2020

VirtualMachine.Ostypeid of the response of the ver 4.13 is a string, the json can't unmarshal into int64.

@olivierlemasle
Copy link

This has already been fixed (cf #113, #117). Please use github.com/xanzy/go-cloudstack/v2 (v2 import)

@rhugga
Copy link

rhugga commented Jun 9, 2021

What is the correct module path or what am I doing wrong here?

go: finding module for package github.com/xanzy/go-cloudstack/v2
github.pie.apple.com/isd-dev/monsoon-storage-reporting imports
	github.com/xanzy/go-cloudstack/v2: module github.com/xanzy/go-cloudstack/v2@latest found (v2.9.0), but does not contain package github.com/xanzy/go-cloudstack/v2

@olivierlemasle
Copy link

In go.mod, you must use github.com/xanzy/go-cloudstack/v2, but in your Go code, you have to use the path github.com/xanzy/go-cloudstack/v2/cloudstack (Go code is in the cloudstack subdirectory)

@svanharmelen
Copy link
Member

I'm going to close this issue as I'm about to archive this repository. Development of this package has been moved to the Apache Foundation. Please find the new home for this package here: https://github.com/apache/cloudstack-go

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants