https://github.com/ging/horizon
Revision 9a0be2b0e0486e5aaf2323f59aa582d50fa6c033 authored by Kieran Spear on 25 September 2013, 00:47:13 UTC, committed by Kieran Spear on 25 September 2013, 00:53:20 UTC
We can't assume image.name is a valid attribute as Glance doesn't send it for images that don't have a name. This is a targeted fix to handle two cases where we access the name. Where the name is not available, this shows the ID instead. In the future we may want to look at wrapping images in our own class so we can clean up data as it is returned from the API. Change-Id: Ida50ce74efafff287a0189dc90aa529e80bd5961 Closes-bug: 1223921
1 parent e063659
Tip revision: 9a0be2b0e0486e5aaf2323f59aa582d50fa6c033 authored by Kieran Spear on 25 September 2013, 00:47:13 UTC
Fix editing of nameless images
Fix editing of nameless images
Tip revision: 9a0be2b
File | Mode | Size |
---|---|---|
.tx | ||
doc | ||
horizon | ||
openstack_dashboard | ||
tools | ||
.gitignore | -rw-r--r-- | 377 bytes |
.gitreview | -rw-r--r-- | 76 bytes |
.mailmap | -rw-r--r-- | 519 bytes |
.pylintrc | -rw-r--r-- | 1.4 KB |
HACKING.rst | -rw-r--r-- | 411 bytes |
LICENSE | -rw-r--r-- | 9.9 KB |
MANIFEST.in | -rw-r--r-- | 654 bytes |
Makefile | -rw-r--r-- | 588 bytes |
README.rst | -rw-r--r-- | 3.1 KB |
manage.py | -rwxr-xr-x | 292 bytes |
openstack-common.conf | -rw-r--r-- | 194 bytes |
requirements.txt | -rw-r--r-- | 505 bytes |
run_tests.sh | -rwxr-xr-x | 12.7 KB |
setup.cfg | -rw-r--r-- | 1.0 KB |
setup.py | -rwxr-xr-x | 794 bytes |
test-requirements.txt | -rw-r--r-- | 289 bytes |
tox.ini | -rw-r--r-- | 1.1 KB |
Computing file changes ...