https://github.com/ging/horizon
Revision f43f11bb35f7a8290125b8398dff6daee8e38aa4 authored by Nicolas Simonds on 24 September 2013, 20:49:36 UTC, committed by Nicolas Simonds on 24 September 2013, 20:49:36 UTC
In cases where there is one AZ configured, Horizon displays the
option "Any Availability Zone" as the default.  This is confusing,
since there is only one.

Since there is logic to handle the "zero AZs configured" case
already, this is in fact an off-by-one error.  Alter the logic to
also handle the "one AZ configured" case and leave the single valid
option selected.

Fixes bug: 1229935

Change-Id: I49319e9c309c1ed41fd55e9297b0b461d17c726d
1 parent e063659
History
Tip revision: f43f11bb35f7a8290125b8398dff6daee8e38aa4 authored by Nicolas Simonds on 24 September 2013, 20:49:36 UTC
Don't insert "Any Availaibility Zone" on single-AZ configurations
Tip revision: f43f11b
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

README.rst

back to top