1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2939 from byxorna/gabe-personalities-with-symbols

allow files in personality to have symbol keys
This commit is contained in:
Kyle Rames 2014-06-02 09:42:21 -05:00
commit e76623f9bc

View file

@ -37,8 +37,8 @@ module Fog
data['server']['personality'] = []
for file in options['personality']
data['server']['personality'] << {
'contents' => Base64.encode64(file['contents']),
'path' => file['path']
'contents' => Base64.encode64(file['contents'] || file[:contents]),
'path' => file['path'] || file[:path]
}
end
end