Skip to content

Commit

Permalink
Fix default entries attribute for policies
Browse files Browse the repository at this point in the history
For policies entries attribute "default" expected to be
dict in contrail-api.

Change-Id: I80673315dc80d3f9a0f3e76441c3a590e37f298c
Closes-bug: #1778518
  • Loading branch information
Sergey Matov committed Jun 25, 2018
1 parent 8730850 commit 2c03782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neutron_plugin_contrail/extensions/policy.py
Expand Up @@ -47,7 +47,7 @@ class PolicyNotFound(NotFound):
'required_by_policy': True,
'is_visible': True},
'entries': {'allow_post': True, 'allow_put': True,
'is_visible': True, 'default': ''},
'is_visible': True, 'default': {}},
'nets_using': {'allow_post': False, 'allow_put': False,
'is_visible': True, 'default': ''},
},
Expand Down

0 comments on commit 2c03782

Please sign in to comment.