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
Call list_queues() and iterate through queue names, looking for "foo/bar"
Expected to find the queue, but because _get_readable_id cuts the id on the last slash, the queue name comes back in the list as "bar".
Here's a suggestion for _get_readable_id which works for me, although I don't know if it's right in all cases:
def _get_readable_id(id_name):
"""simplified an id to be more friendly for us people"""
pos = id_name.rfind(SERVICE_BUS_HOST_BASE)
if pos != -1:
return id_name[pos+len(SERVICE_BUS_HOST_BASE)+1:]
else:
return id_name
The text was updated successfully, but these errors were encountered:
Expected to find the queue, but because _get_readable_id cuts the id on the last slash, the queue name comes back in the list as "bar".
Here's a suggestion for _get_readable_id which works for me, although I don't know if it's right in all cases:
The text was updated successfully, but these errors were encountered: