Allow s3 backend
The allowed backend types were not updated when s3 backend was re-added by40315729bc
. Closes-Bug: #2088137 Change-Id: I61ea8b88cbe49574c82db8d7398a43c99c18fd4d (cherry picked from commita13b64fcdf
) (cherry picked from commite3f8a455dc
)
This commit is contained in:
parent
dc5b75dbf8
commit
abf682f25b
@ -425,7 +425,7 @@ class glance::api(
|
||||
$enabled_backends_array.each |$backend| {
|
||||
$backend_type = split($backend, /:/)[1]
|
||||
|
||||
unless $backend_type =~ /file|http|swift|rbd|cinder|vsphere/ {
|
||||
unless $backend_type in ['file', 'http', 'swift', 'rbd', 'cinder', 's3', 'vsphere'] {
|
||||
fail("\'${backend_type}\' is not a valid backend type.")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user