diff --git a/openstack/resource.py b/openstack/resource.py index b1c5cc2af..10e3dc4a2 100644 --- a/openstack/resource.py +++ b/openstack/resource.py @@ -1342,7 +1342,7 @@ class Resource(dict): if not pagination_key and 'links' in data: # api-wg guidelines are for a links dict in the main body - pagination_key == 'links' + pagination_key = 'links' if not pagination_key and cls.resources_key: # Nova has a {key}_links dict in the main body pagination_key = '{key}_links'.format(key=cls.resources_key)