Skip to content

Commit 4ae1063

Browse files
committed
Prevent Membrane errors: don't allow blobstore_provider: nil when using fog
1 parent 49d038c commit 4ae1063

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jobs/blobstore_benchmark/templates/cloud_controller_ng.yml.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
%w[fog_connection connection_config fog_aws_storage_options fog_gcp_storage_options webdav_config].each do |hk|
6464
section[hk] = {} if section.key?(hk) && section[hk].nil?
6565
end
66+
67+
if section.key?('blobstore_provider') && section['blobstore_provider'].nil?
68+
section.delete('blobstore_provider')
69+
end
6670
end
6771

6872
db = link("cloud_controller_db").p("ccdb.databases").find { |d| d["tag"] == "cc" }

0 commit comments

Comments
 (0)