Skip to content

Commit 51b8dfa

Browse files
author
Chris Wiechmann
committed
Fixed the way how validateConfig is set to a boolean value.
1 parent d4db1b7 commit 51b8dfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api-builder-plugin-fn-elasticsearch/config/elasticsearch.default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
},
2626
// The connection to Elasticsearch is validated on API-Builder startup by default
2727
// It can be disabled by setting this to false.
28-
validateConnection: process.env.VALIDATE_ELASTIC_CONNECTION
28+
validateConnection: ("false" == process.env.VALIDATE_ELASTIC_CONNECTION) ? false : true
2929
}
3030
}
3131
};

0 commit comments

Comments
 (0)