Commit 2edb870b authored by Suhaimi Amir's avatar Suhaimi Amir

fix global config setter

parent 0c8ef3cb
Pipeline #1618 passed with stage
in 20 seconds
......@@ -31,7 +31,9 @@ exports.get = async (name, spanContext = {}) => {
span.setTag('success', true);
span.finish();
return config;
global.config[name] = config;
return Promise.resolve(config);
})
.catch((err) => {
logger.info(`Retrieving config file "${name}"... FAILED`);
......
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