apache / apache/cloudstack-cloudmonkey
Autocompletion for version parameter on different APIs always retrieves the registered CKS versions
- 主要語言
- Go
- 星號
- 120
- 分支
- 79
- 平均合併
- 1 天 18 小時
- 30 天內合併 PR
- 4
描述
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"
}
]
}
````
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
透過註冊一個 CKS 版本來重現此問題,然後檢查 `list hosts` 和 `list routers` 的版本參數自動補全路徑。追蹤可用版本的選取位置;當這些命令自動補全出與其回應資料相符的 CloudStack 版本,而不是 CKS 版本時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- go
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 65/100