Skip to content

Commit

Permalink
Merge pull request #597 from mountaindude/585-verify-config-file
Browse files Browse the repository at this point in the history
585 verify config file
  • Loading branch information
mountaindude committed Aug 21, 2023
2 parents 320e05c + 212fc72 commit 017c8a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ tagValuesLogEvent.push('engine_exe_version');
if (config.has('Butler-SOS.logEvents.tags') && config.get('Butler-SOS.logEvents.tags') !== null) {
config.get('Butler-SOS.logEvents.tags').forEach((entry) => {
logger.debug(
`CONFIG: Setting up new Influx database: Found log event tag in config file: ${entry}`
`CONFIG: Setting up new Influx database: Found log event tag in config file: ${JSON.stringify(
entry
)}`
);

tagValuesLogEvent.push(entry.tag);
Expand Down
1 change: 0 additions & 1 deletion src/lib/config-file-schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ const confifgFileSchema = {
clientCert: 'string',
clientCertKey: 'string',
clientCertCA: 'string',
'clientCertPassphrase?': 'string',
},
mqttConfig: {
enable: 'boolean',
Expand Down

0 comments on commit 017c8a1

Please sign in to comment.