[cli] Unused but required parameter 'workbook' in execution-get(delete, update) commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Invalid
|
Low
|
Unassigned |
Bug Description
Create a real execution for the existing workbook:
root@mistralcli
Starting new HTTP connection (1): localhost
+------
| Field | Value |
+------
| ID | 2e6a912d-
| Workbook | wb |
| Task | hello |
| State | RUNNING |
+------
Check workbook list and verify that we have only one created workbook:
root@mistralcli
Starting new HTTP connection (1): localhost
+------
| Name | Description | Tags |
+------
| wb | def | tag |
+------
Get execution from nonexisting workbook:
root@mistralcli
Starting new HTTP connection (1): localhost
+------
| Field | Value |
+------
| ID | 2e6a912d-
| Workbook | wb |
| Task | hello |
| State | SUCCESS |
+------
root@mistralcli
usage: mistral execution-get [-h] [-f {shell,
mistral execution-get: error: too few arguments
As we can see workbook is required parameter, but we can set unreal workbook and real execution id and execution-get method will receive execution using only its id for searching.
The same situation for the delete and update commands.
summary: |
- [cli] Unused but required parameter 'workbook' in execution-get command + [cli] Unused but required parameter 'workbook' in execution-get(delete, + update) commands |
description: | updated |
Changed in mistral: | |
status: | New → Confirmed |
Changed in mistral: | |
status: | Triaged → Invalid |
Bug was moved to python- mistralclient project: /bugs.launchpad .net/python- mistralclient/ +bug/1374308
https:/