#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
|
||||
end
|
||||
|
||||
def convert_config conf
|
||||
def self.convert_config conf
|
||||
config = {}
|
||||
conf.each {|k,v| config[k.is_a?(String) ? k.to_sym : k] = v}
|
||||
config
|
||||
|
||||
Loading…
Reference in New Issue
Block a user