Skip to content

Commit 64ae24f

Browse files
committed
chore(log): correct log message
Old log message contained a wrong env variable name that stores the Influx V2 Token.
1 parent df88d85 commit 64ae24f

2 files changed

Lines changed: 140 additions & 110 deletions

File tree

ms_database_connector/core/db_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ def initialize_db_connection(
2828
None: Returns None on error rather than raising exceptions.
2929
"""
3030

31-
_logger.info("Get Influx DB password from environment variable 'RUNTIME_INFLUX_PW'")
31+
_logger.info("Get Influx DB password from environment variable 'INFLUXDB_V2_TOKEN'")
3232
password = os.getenv("INFLUXDB_V2_TOKEN")
3333
if not password:
3434
_logger.warning(
35-
"No Influx DB password provided in environment variable 'RUNTIME_INFLUX_PW'. Database interactions disabled."
35+
"No Influx DB password provided in environment variable 'INFLUXDB_V2_TOKEN'. Database interactions disabled."
3636
)
3737
return None
3838

0 commit comments

Comments
 (0)