apache / apache/cloudstack-cloudmonkey
Autocompletion for version parameter on different APIs always retrieves the registered CKS versions
- Dominant language
- Go
- Stars
- 120
- Forks
- 79
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 4
Description
The version parameter on different APIs such as `list hosts` or `list routers` (could be more) is always autocompleting to the CKS registered versions, instead of CloudStack versions.
To reproduce it:
- Register at least one CKS version
- Check autocompletion for the `version` parameter on `list hosts` or `list routers`
Expected results:
Version autocompleting with the hosts/routers CloudStack versions available, matching the response field:
````
(homelab) 🐱 > list hosts type=routing filter=id,name,version
{
"count": 1,
"host": [
{
"id": "aae6296c-a674-4704-9da0-539fe0aaeeff",
"name": "nvs-kvm01",
"version": "4.22.1.0"
}
]
}
````
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue by registering a CKS version, then inspect the autocompletion path for the version parameter on `list hosts` and `list routers`. Trace where the available versions are selected; done means these commands autocomplete CloudStack versions matching their response data rather than CKS versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100