Skip to content

Commit

Permalink
Allow file engine to be used with other engines
Browse files Browse the repository at this point in the history
A cloud should be allowed to enable file and rbd or swift backends.
This check prevented other backends from being enabled if file was in
the list.
  • Loading branch information
tgerdes committed May 30, 2017
1 parent 3db6b76 commit 135767c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion glance/files/mitaka/glance-api.conf.Debian
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ max_overflow = 30
# List of stores enabled. Valid stores are: cinder, file, http, rbd,
# sheepdog, swift, s3, vsphere (list value)
#stores = file,http
{%- if 'file' in storage_engines %}
{%- if ['file'] == storage_engines %}
default_store = file
stores = file,http
{%- else %}
Expand Down
2 changes: 1 addition & 1 deletion glance/files/newton/glance-api.conf.Debian
Original file line number Diff line number Diff line change
Expand Up @@ -1929,7 +1929,7 @@ max_overflow = 30
#
# (list value)
#stores = file,http
{%- if 'file' in storage_engines %}
{%- if ['file'] == storage_engines %}
default_store = file
stores = file,http
{%- else %}
Expand Down
2 changes: 1 addition & 1 deletion glance/files/ocata/glance-api.conf.Debian
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@ max_overflow = 30
#
# (list value)
#stores = file,http
{%- if 'file' in storage_engines %}
{%- if ['file'] == storage_engines %}
default_store = file
stores = file,http
{%- else %}
Expand Down

0 comments on commit 135767c

Please sign in to comment.