Commit 2b042868 authored by Stan Hu's avatar Stan Hu

Symoblize store to ensure comparison is correct

parent d7bcbeb6
...@@ -47,7 +47,7 @@ module Ci ...@@ -47,7 +47,7 @@ module Ci
@stores ||= {} @stores ||= {}
# Can't memoize this because the feature flag may alter this # Can't memoize this because the feature flag may alter this
return fog_store_class.new if store == :fog return fog_store_class.new if store.to_sym == :fog
@stores[store] ||= "Ci::BuildTraceChunks::#{store.capitalize}".constantize.new @stores[store] ||= "Ci::BuildTraceChunks::#{store.capitalize}".constantize.new
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment