Skip to content

Commit 8bd7674

Browse files
shwstppryadvr
authored andcommitted
api: fixed create/update diskoffering API parameter access
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 2f6673c commit 8bd7674

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class CreateDiskOfferingCmd extends BaseCmd {
7474
required = false,
7575
description = "the ID of the domains offering is associated with, null for all domain offerings",
7676
since = "4.13")
77-
protected List<Long> domainIds;
77+
private List<Long> domainIds;
7878

7979
@Parameter(name = ApiConstants.ZONE_ID_LIST,
8080
type = CommandType.LIST,
@@ -83,7 +83,7 @@ public class CreateDiskOfferingCmd extends BaseCmd {
8383
required = false,
8484
description = "the ID of the zones offering is associated with, null for all zone offerings",
8585
since = "4.13")
86-
protected List<Long> zoneIds;
86+
private List<Long> zoneIds;
8787

8888
@Parameter(name = ApiConstants.STORAGE_TYPE, type = CommandType.STRING, description = "the storage type of the disk offering. Values are local and shared.")
8989
private String storageType = ServiceOffering.StorageType.shared.toString();

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class UpdateDiskOfferingCmd extends BaseCmd {
7777
required = false,
7878
description = "the ID of the domains offering is associated with, null for all domain offerings",
7979
since = "4.13")
80-
protected List<Long> domainIds;
80+
private List<Long> domainIds;
8181

8282
@Parameter(name = ApiConstants.ZONE_ID_LIST,
8383
type = CommandType.LIST,
@@ -86,7 +86,7 @@ public class UpdateDiskOfferingCmd extends BaseCmd {
8686
required = false,
8787
description = "the ID of the zones offering is associated with, null for all zone offerings",
8888
since = "4.13")
89-
protected List<Long> zoneIds;
89+
private List<Long> zoneIds;
9090

9191
/////////////////////////////////////////////////////
9292
/////////////////// Accessors ///////////////////////

0 commit comments

Comments
 (0)