From c07ae7eda1b02203fc48783256b2b1881a587cb4 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 10 Aug 2019 08:52:24 +0200 Subject: Fix variable names for docker secrets It seems like since we switched to camelcase we missed to update some variable names in the config section. This patch fixes those. Signed-off-by: Sheogorath --- lib/config/dockerSecret.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/config') diff --git a/lib/config/dockerSecret.js b/lib/config/dockerSecret.js index 3a6910f4..50bf7fe2 100644 --- a/lib/config/dockerSecret.js +++ b/lib/config/dockerSecret.js @@ -14,11 +14,11 @@ function getSecret (secret) { if (fs.existsSync(basePath)) { module.exports = { dbURL: getSecret('dbURL'), - sessionsecret: getSecret('sessionsecret'), - sslkeypath: getSecret('sslkeypath'), - sslcertpath: getSecret('sslcertpath'), - sslcapath: getSecret('sslcapath'), - dhparampath: getSecret('dhparampath'), + sessionSecret: getSecret('sessionsecret'), + sslKeyPath: getSecret('sslkeypath'), + sslCertPath: getSecret('sslcertpath'), + sslCAPath: getSecret('sslcapath'), + dhParamPath: getSecret('dhparampath'), s3: { accessKeyId: getSecret('s3_acccessKeyId'), secretAccessKey: getSecret('s3_secretAccessKey') -- cgit v1.2.3