#840: convert_config is static now
This commit is contained in:
parent
a3cb07ab5c
commit
708a1741dc
@ -130,7 +130,7 @@ class Worker
|
|||||||
::Provider::ProviderFactory.get(provider_name) if provider_name
|
::Provider::ProviderFactory.get(provider_name) if provider_name
|
||||||
end
|
end
|
||||||
|
|
||||||
def convert_config conf
|
def self.convert_config conf
|
||||||
config = {}
|
config = {}
|
||||||
conf.each {|k,v| config[k.is_a?(String) ? k.to_sym : k] = v}
|
conf.each {|k,v| config[k.is_a?(String) ? k.to_sym : k] = v}
|
||||||
config
|
config
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user