These are chat archives for synrc/n2o

29th
Sep 2016
Matti Katila
@mudyc
Sep 29 2016 05:55
well I added debug message (io:format) to https://github.com/lookio/eaws/blob/master/src/eaws_client.erl to see what is the used in get_env(eaws, access_key_id). The connect is called early (I don't know what calls it) but the consequence is that mad's set_env is not ran yet and the .app specific [[YOUR_ACCESS_KEY]] is the used key. That's why I tried to change mad's starting sequence to first load the app, then set the config and start after set_env. But that didn't fix the problem either so I am clueless what to do next
Matti Katila
@mudyc
Sep 29 2016 06:39
I could overwrite/extend the env variable in application descriptor by sys.config but before that I need to learn how to modify erlang structures
extend works, now I need to find out how to append the app specific variables from sys.config