Azure / Azure/azurestack-powershell
Unexpected response when AzureBridge product doesn't exist
- Ngôn ngữ chính
- PowerShell
- Star
- 16
- Fork
- 37
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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".
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by reproducing the Get-AzsAzureBridgeProduct command shown in the issue with the nonexistent fakeproduct resource, then locate the command's response handling. Confirm the service response for a missing product and update the reported error so it says the resource does not exist; done when the command no longer reports an unexpected response for this case.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- powershell
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100