You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alex reported this earlier, looks like we need to not just handle the 404 case, but others as well now that it's possible we could get 403, etc.
testflinger list-queues
shell: /usr/bin/bash -e {0}
Advertised queues on this server:
Traceback (most recent call last):
File "/snap/testflinger-cli/161/bin/testflinger-cli", line 8, in <module>
sys.exit(cli())
File "/snap/testflinger-cli/161/lib/python3.8/site-packages/testflinger_cli/__init__.py", line 47, in cli
tfcli.run()
File "/snap/testflinger-cli/161/lib/python3.8/site-packages/testflinger_cli/__init__.py", line 142, in run
raise SystemExit(self.args.func())
File "/snap/testflinger-cli/161/lib/python3.8/site-packages/testflinger_cli/__init__.py", line 522, in list_queues
for name, description in sorted(queues.items()):
UnboundLocalError: local variable 'queues' referenced before assignment
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
Alex reported this earlier, looks like we need to not just handle the 404 case, but others as well now that it's possible we could get 403, etc.
The text was updated successfully, but these errors were encountered: