Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions iot/api-client/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,12 @@ def delete_registry(
registry_path = client.registry_path(project_id, cloud_region, registry_id)

try:
response = client.delete_device_registry(registry_path)
client.delete_device_registry(registry_path)
print('Deleted registry')
return response
return 'Registry deleted'
except HttpError:
print('Error, registry not deleted')
return ""
return 'Registry not deleted'
# [END iot_delete_registry]


Expand Down