Skip to content

Commit b443402

Browse files
nvazquezLocharla, Sandeep
authored andcommitted
Fix for zoneids parameters length on updateAPIs (apache#12440)
1 parent c8f52c0 commit b443402

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/offering/UpdateDiskOfferingCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public class UpdateDiskOfferingCmd extends BaseCmd implements DomainAndZoneIdRes
7373
@Parameter(name = ApiConstants.ZONE_ID,
7474
type = CommandType.STRING,
7575
description = "The ID of the containing zone(s) as comma separated string, all for all zones offerings",
76+
length = 4096,
7677
since = "4.13")
7778
private String zoneIds;
7879

api/src/main/java/org/apache/cloudstack/api/command/admin/offering/UpdateServiceOfferingCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public class UpdateServiceOfferingCmd extends BaseCmd implements DomainAndZoneId
6868
@Parameter(name = ApiConstants.ZONE_ID,
6969
type = CommandType.STRING,
7070
description = "The ID of the containing zone(s) as comma separated string, all for all zones offerings",
71+
length = 4096,
7172
since = "4.13")
7273
private String zoneIds;
7374

api/src/main/java/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public class UpdateVPCOfferingCmd extends BaseAsyncCmd implements DomainAndZoneI
6161
@Parameter(name = ApiConstants.ZONE_ID,
6262
type = CommandType.STRING,
6363
description = "The ID of the containing zone(s) as comma separated string, all for all zones offerings",
64+
length = 4096,
6465
since = "4.13")
6566
private String zoneIds;
6667

0 commit comments

Comments
 (0)