Skip to content
Snippets Groups Projects
Commit f86fb6e7 authored by Christoph Alt's avatar Christoph Alt
Browse files

fixed time of default config loading

parent d12c97a5
No related merge requests found
Pipeline #41810 passed with stage
in 14 seconds
...@@ -38,8 +38,8 @@ class DBConfig: ...@@ -38,8 +38,8 @@ class DBConfig:
class Uploader: class Uploader:
def __init__(self, config: DBConfig = load_config_from_env()): def __init__(self, config: DBConfig = None):
self.config = config self.config = config if config else load_config_from_env()
self.client = InfluxDBClient( self.client = InfluxDBClient(
host=config.host, host=config.host,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment