diff options
Diffstat (limited to 'ocata/ocata/resource/views/events.py')
-rw-r--r-- | ocata/ocata/resource/views/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ocata/ocata/resource/views/events.py b/ocata/ocata/resource/views/events.py index 4b477a75..a5b7d824 100644 --- a/ocata/ocata/resource/views/events.py +++ b/ocata/ocata/resource/views/events.py @@ -53,7 +53,7 @@ class EventsCheck(APIView): interface = 'public' service = {'service_type': 'compute', 'interface': interface, - 'region_id': vim['openstack_region_id'] + 'region_name': vim['openstack_region_id'] if vim.get('openstack_region_id') else vim['cloud_region_id']} |