-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Closed
Copy link
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.needs-triageThis is a new issue that needs to be triaged to the appropriate team.This is a new issue that needs to be triaged to the appropriate team.
Milestone
Description
Describe the bug
"Signalr show" fails with unexpected error when the signalr service doesn't exist. When the service does exist, "signalr show" works as expected.
Command Name
az signalr show
Errors:
The command failed with an unexpected error. Here is the traceback:
'CommandResultItem' object is not iterable
Traceback (most recent call last):
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-76yvurxi\knack\knack\cli.py", line 212, in invoke
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-76yvurxi\knack\knack\output.py", line 132, in out
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-76yvurxi\knack\knack\output.py", line 38, in format_json
TypeError: 'CommandResultItem' object is not iterable
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az signalr show --name <nonexistent-signalr-service> --resource-group <existing-resource-group>
Expected Behavior
Printing an error message like "Signalr service doesn't exist"
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: powershell.exe
azure-cli 2.0.68
Extensions:
application-insights 0.1.1
Additional Context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.needs-triageThis is a new issue that needs to be triaged to the appropriate team.This is a new issue that needs to be triaged to the appropriate team.