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) (cherry picked from commitabf682f25b) (cherry picked from commit5c809fe926)
This commit is contained in:
@@ -414,7 +414,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.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user