nvazquez commented on code in PR #11841:
URL: https://github.com/apache/cloudstack/pull/11841#discussion_r2433272430


##########
api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ListImportVMTasksCmd.java:
##########
@@ -75,11 +76,8 @@ public class ListImportVMTasksCmd extends BaseListCmd {
             description = "Conversion host of the importing task")
     private Long convertHostId;
 
-    @Parameter(name = ApiConstants.LIST_ALL, type = CommandType.BOOLEAN, 
description = "Whether to list all import tasks.")
-    private boolean listAll = false;
-
-    @Parameter(name = ApiConstants.SHOW_COMPLETED, type = CommandType.BOOLEAN, 
description = "Whether to list completed tasks.")
-    private boolean showCompleted = false;
+    @Parameter(name = ApiConstants.STATE, type = CommandType.STRING, 
description = "List tasks by status, valid options are: Running, Completed, 
Failed")

Review Comment:
   Thanks @Pearl1594, the since parameter is added on the API class entirely 
and it will use that one as all the parameters have been added on the same 
version (4.22)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to