]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow 0 length name
authorJohn Griffith <john.griffith8@gmail.com>
Mon, 17 Aug 2015 14:08:14 +0000 (08:08 -0600)
committerJohn Griffith <john.griffith8@gmail.com>
Mon, 17 Aug 2015 14:36:20 +0000 (08:36 -0600)
commit480b8737e3bec677fd76b68b8887efe5cb1ab8de
tree5b1f1d032c73322a75d6fb84d51c3d2fafebbb35
parent31cb1f2377e0a0271a40e581b69048603af03de6
Allow 0 length name

There are currently cases where nova for example
creates volumes with a name of zero length.  We
can't just change that and break compatability.

This patch just modifes the wsgi module to allow
min length of zero again.

Change-Id: I829a8b4d6773d1c646d07cccb36994370e1dbce9
Closes-Bug: #1485198
cinder/api/openstack/wsgi.py
cinder/tests/unit/api/contrib/test_consistencygroups.py
cinder/tests/unit/api/openstack/test_wsgi.py