Use neutron_lib converters instead of neutron
The converters moved to neutron_lib which broke our code Change-Id: If0a49f966d7dda73327b7cbbe6a44b0ace2d2ee2
This commit is contained in:
parent
a6f9a1f8e2
commit
93d2d2077e
@ -13,7 +13,7 @@
|
||||
# under the License.
|
||||
|
||||
from neutron.api import extensions
|
||||
from neutron.api.v2 import attributes
|
||||
from neutron_lib.api import converters
|
||||
|
||||
LOGGING = 'logging'
|
||||
|
||||
@ -22,7 +22,7 @@ RESOURCE_ATTRIBUTE_MAP = {
|
||||
LOGGING: {
|
||||
'allow_post': True,
|
||||
'allow_put': True,
|
||||
'convert_to': attributes.convert_to_boolean,
|
||||
'convert_to': converters.convert_to_boolean,
|
||||
'default': False,
|
||||
'enforce_policy': True,
|
||||
'is_visible': True}
|
||||
|
Loading…
Reference in New Issue
Block a user