diff --git a/api/src/com/cloud/api/commands/DeleteSnapshotPoliciesCmd.java b/api/src/com/cloud/api/commands/DeleteSnapshotPoliciesCmd.java old mode 100644 new mode 100755 index 8cad576063e..e7f15d1ad19 --- a/api/src/com/cloud/api/commands/DeleteSnapshotPoliciesCmd.java +++ b/api/src/com/cloud/api/commands/DeleteSnapshotPoliciesCmd.java @@ -41,12 +41,12 @@ public class DeleteSnapshotPoliciesCmd extends BaseCmd { //////////////// API parameters ///////////////////// ///////////////////////////////////////////////////// - @IdentityMapper(entityTableName="snapshots") - @Parameter(name=ApiConstants.ID, type=CommandType.LONG, description="the Id of the snapshot") + @IdentityMapper(entityTableName="snapshot_policy") + @Parameter(name=ApiConstants.ID, type=CommandType.LONG, description="the Id of the snapshot policy") private Long id; - @IdentityMapper(entityTableName="snapshots") - @Parameter(name=ApiConstants.IDS, type=CommandType.LIST, collectionType=CommandType.LONG, description="list of snapshots IDs separated by comma") + @IdentityMapper(entityTableName="snapshot_policy") + @Parameter(name=ApiConstants.IDS, type=CommandType.LIST, collectionType=CommandType.LONG, description="list of snapshots policy IDs separated by comma") private List ids;