]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
API: _validate_ip_address should not raise an exception
authorGary Kotton <gkotton@vmware.com>
Thu, 10 Dec 2015 12:23:55 +0000 (04:23 -0800)
committerGary Kotton <gkotton@vmware.com>
Fri, 11 Dec 2015 17:19:25 +0000 (09:19 -0800)
commit981b7e4cb4f6752568059c03ef3722a1c828e2e7
treeeb80e3b089dcd3bf73de69b64f46f693a64946b9
parente5e868ca4c8ff4dfbbc599d5bc6aebbb161e58d3
API: _validate_ip_address should not raise an exception

The _validate* methods should return an error message and
not raise an exception.

Commit 2794bb89d664355ae1194a0b1f8346c1538caef8 raised an
exception instead of returning a message with the invalid data.

TrivialFix

Change-Id: Id3cc44a4ed248415f19c73beec2b24fd295110c8
neutron/api/v2/attributes.py