Skip to content

Commit 71cac07

Browse files
authored
Adding getRawValue to CreateZone api (#68)
1 parent 139ce08 commit 71cac07

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

cloudstack/ZoneService.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ func (s *ZoneService) CreateZone(p *CreateZoneParams) (*CreateZoneResponse, erro
364364
return nil, err
365365
}
366366

367+
if resp, err = getRawValue(resp); err != nil {
368+
return nil, err
369+
}
370+
367371
var r CreateZoneResponse
368372
if err := json.Unmarshal(resp, &r); err != nil {
369373
return nil, err

generate/generate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,7 @@ func (s *service) generateNewAPICallFunc(a *API) {
17251725
"CreateSecurityGroup",
17261726
"CreateServiceOffering",
17271727
"CreateUser",
1728+
"CreateZone",
17281729
"DedicateGuestVlanRange",
17291730
"EnableUser",
17301731
"GetVirtualMachineUserData",

0 commit comments

Comments
 (0)