Remove resource_key for dns floating IP
The resource_key should not be set otherwise a proxy call to update_floating_ip() will fail in Designate API with a 400 bad request. Closes-Bug: 2046891 Change-Id: Ic056bc6f800d80a3c4a4821660912b1c88e73efd
This commit is contained in:
parent
8378110c1a
commit
de87212558
|
@ -17,7 +17,6 @@ from openstack import resource
|
|||
class FloatingIP(_base.Resource):
|
||||
"""DNS Floating IP Resource"""
|
||||
|
||||
resource_key = ''
|
||||
resources_key = 'floatingips'
|
||||
base_path = '/reverse/floatingips'
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ EXAMPLE = {
|
|||
class TestFloatingIP(base.TestCase):
|
||||
def test_basic(self):
|
||||
sot = fip.FloatingIP()
|
||||
self.assertEqual('', sot.resource_key)
|
||||
self.assertEqual(None, sot.resource_key)
|
||||
self.assertEqual('floatingips', sot.resources_key)
|
||||
self.assertEqual('/reverse/floatingips', sot.base_path)
|
||||
self.assertTrue(sot.allow_list)
|
||||
|
|
Loading…
Reference in New Issue