Skip to content

Commit a25922b

Browse files
author
Dean Troyer
committed
Fix regression in Cinder volume type creation
The local-vars cleanup (Iedeafa15def1fa26d4ddcbc5f670129f66e38b9d) spanned (and missed) this fix (Ib35ffc09f6582354010ac8ca35da581ea508877a) for volume type creation. Change-Id: I2b95cbc946727d7708283eca0c07ba1eaddf5db8
1 parent 464d48a commit a25922b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/cinder

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ function configure_cinder {
247247
if type configure_cinder_backend_${be_type} >/dev/null 2>&1; then
248248
configure_cinder_backend_${be_type} ${be_name}
249249
fi
250-
if [[ -z "$default_type" ]]; then
251-
default_name=$be_type
250+
if [[ -z "$default_name" ]]; then
251+
default_name=$be_name
252252
fi
253253
enabled_backends+=$be_name,
254254
done

0 commit comments

Comments
 (0)