Skip to content

Commit 319054f

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Fix regression in Cinder volume type creation"
2 parents f25baf3 + a25922b commit 319054f

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)