Azure / Azure/azurestack-powershell
Unexpected response when AzureBridge product doesn't exist
未关闭
- 主要语言
- PowerShell
- 星标
- 16
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
描述
When I run Get-AzsAzureBridgeProduct as below, I get an unexpected response error:
```
PS C:\tasks\Azure\azurestack-powershell\src\Azs.AzureBridge.Admin\test> get-AzsAzureBridgeProduct -ActivationName "default" -ResourceGroupName "azurestack-activation" -Name "fakeproduct"
Get-AzsAzureBridgeProduct_Get: Unexpected response retrieving product information.
```
The error should say the resource does not exist, not an "unexpected response".
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先,使用不存在的 fakeproduct 资源重现 issue 中所示的 Get-AzsAzureBridgeProduct 命令,然后定位该命令的响应处理逻辑。确认缺失产品时的服务响应,并更新报告的错误,使其说明资源不存在;当该命令在此情况下不再报告意外响应时即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100