According to the comment in the source code, the snapshot-update of
v2 would be able to allow either "name" or "display_name" parameter.
And if both paramters are specified, "name" parameter is effective
over "display_name" like "description" parameter.
However "display_name" parameter is ignored now, because cinder writes
over empty dict(update_dict['display_name']).
Reviewed: https:/ /review. openstack. org/46877 github. com/openstack/ cinder/ commit/ 622f10e87fda5dc 439d43543216d95 3920079282
Committed: http://
Submitter: Jenkins
Branch: master
commit 622f10e87fda5dc 439d43543216d95 3920079282
Author: Ken'ichi Ohmichi <email address hidden>
Date: Tue Sep 17 13:29:51 2013 +0900
Allow display_name for v2 snapshot-update
According to the comment in the source code, the snapshot-update of dict['display_ name']) .
v2 would be able to allow either "name" or "display_name" parameter.
And if both paramters are specified, "name" parameter is effective
over "display_name" like "description" parameter.
However "display_name" parameter is ignored now, because cinder writes
over empty dict(update_
This patch fixes the problem.
Fixes bug #1226398
Change-Id: Icd48556a26b934 6f73b7c1b82ffbc dd469c4d28d