Skip to content

Commit 7a5902d

Browse files
authored
Prevent Membrane errors: don't allow blobstore_provider: nil when using fog (#607)
1 parent 49d038c commit 7a5902d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)