tenthe commented on code in PR #2247:
URL: https://github.com/apache/streampipes/pull/2247#discussion_r1411936583
##########
streampipes-extensions/streampipes-connectors-influx/src/main/java/org/apache/streampipes/extensions/connectors/influx/sink/InfluxDbClient.java:
##########
@@ -67,7 +70,7 @@ private void connect() throws SpRuntimeException {
var databaseName = connectionSettings.getDatabaseName();
// Checking whether the database exists
- if (!InfluxRequests.databaseExists(influxDb, databaseName)) {
+ if (!influxClientProvider.databaseExists(influxDb, databaseName)) {
LOG.info("Database '" + databaseName + "' not found. Gets created ...");
createDatabase(databaseName);
Review Comment:
No, this only makes a check if the database does exist
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]