Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,14 @@ The `listAPIs.json` file holds the output of `listApis` command for a specific r
```
# Run it via the Makefile
make all

```

### Prerequisites

* `goimports`: Install by running `go install golang.org/x/tools/cmd/goimports@latest`

* `mockgen`: Install by running `go install go.uber.org/mock/mockgen@latest`

## Getting Help

_Please try to see if the [module documentation](https://pkg.go.dev/github.com/apache/cloudstack-go/v2/cloudstack) can provide some answers first!_
Expand Down
4 changes: 4 additions & 0 deletions cloudstack/PodService.go
Original file line number Diff line number Diff line change
Expand Up @@ -1830,6 +1830,10 @@ func (s *PodService) UpdatePod(p *UpdatePodParams) (*UpdatePodResponse, error) {
return nil, err
}

if resp, err = getRawValue(resp); err != nil {
return nil, err
}

var r UpdatePodResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
Expand Down
4 changes: 4 additions & 0 deletions cloudstack/ZoneService.go
Original file line number Diff line number Diff line change
Expand Up @@ -3691,6 +3691,10 @@ func (s *ZoneService) UpdateZone(p *UpdateZoneParams) (*UpdateZoneResponse, erro
return nil, err
}

if resp, err = getRawValue(resp); err != nil {
return nil, err
}

var r UpdateZoneResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
Expand Down
2 changes: 2 additions & 0 deletions generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -1794,11 +1794,13 @@ func (s *service) generateNewAPICallFunc(a *API) {
"UpdateCluster",
"UpdateVlanIpRange",
"CreatePod",
"UpdatePod",
"CreateSSHKeyPair",
"CreateSecurityGroup",
"CreateServiceOffering",
"CreateUser",
"CreateZone",
"UpdateZone",
"DedicateGuestVlanRange",
"EnableUser",
"GetVirtualMachineUserData",
Expand Down
Loading