| commit | 319054f3bb3d2c62aeedd59109a956e5b8f14e6e | [log] [tgz] |
|---|---|---|
| author | Jenkins <jenkins@review.openstack.org> | Wed Sep 10 09:17:41 2014 +0000 |
| committer | Gerrit Code Review <review@openstack.org> | Wed Sep 10 09:17:41 2014 +0000 |
| tree | c3441da38210434038b21a829eb041150c8f9dba | |
| parent | f25baf37c82b0f271e006f2825e0357297a4320a [diff] | |
| parent | a25922b9616f74f74049368e8f4e5de11b851921 [diff] |
Merge "Fix regression in Cinder volume type creation"
diff --git a/lib/cinder b/lib/cinder index ce13b86..c4fe3c7 100644 --- a/lib/cinder +++ b/lib/cinder
@@ -247,8 +247,8 @@ if type configure_cinder_backend_${be_type} >/dev/null 2>&1; then configure_cinder_backend_${be_type} ${be_name} fi - if [[ -z "$default_type" ]]; then - default_name=$be_type + if [[ -z "$default_name" ]]; then + default_name=$be_name fi enabled_backends+=$be_name, done