Skip to content

Commit dc562d7

Browse files
committed
Adding CreateVlanIpRange and UpdateVlanIpRange to getRawValues
1 parent 6ee754d commit dc562d7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

cloudstack/VLANService.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,10 @@ func (s *VLANService) CreateVlanIpRange(p *CreateVlanIpRangeParams) (*CreateVlan
401401
return nil, err
402402
}
403403

404+
if resp, err = getRawValue(resp); err != nil {
405+
return nil, err
406+
}
407+
404408
var r CreateVlanIpRangeResponse
405409
if err := json.Unmarshal(resp, &r); err != nil {
406410
return nil, err
@@ -1772,6 +1776,10 @@ func (s *VLANService) UpdateVlanIpRange(p *UpdateVlanIpRangeParams) (*UpdateVlan
17721776
return nil, err
17731777
}
17741778

1779+
if resp, err = getRawValue(resp); err != nil {
1780+
return nil, err
1781+
}
1782+
17751783
var r UpdateVlanIpRangeResponse
17761784
if err := json.Unmarshal(resp, &r); err != nil {
17771785
return nil, err

generate/generate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,10 +1718,12 @@ func (s *service) generateNewAPICallFunc(a *API) {
17181718
"CreateNetwork",
17191719
"CreateStoragePool",
17201720
"CreateNetworkOffering",
1721+
"CreateVlanIpRange",
17211722
"UpdateNetworkOffering",
17221723
"UpdateServiceOffering",
17231724
"UpdateConfiguration",
17241725
"UpdateCluster",
1726+
"UpdateVlanIpRange",
17251727
"CreatePod",
17261728
"CreateSSHKeyPair",
17271729
"CreateSecurityGroup",

0 commit comments

Comments
 (0)