Verified Commit 1359ba2e authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Remove url excess param user and password from chwriter POST Clickhouse query.

parent d5e03df7
Pipeline #33082 passed with stages
in 20 minutes and 2 seconds
......@@ -36,10 +36,8 @@ class Channel(object):
self.last_updated = perf_counter()
self.last_flushed = perf_counter()
self.flushing = False
self.url = "http://%s/?user=%s&password=%s&database=%s&query=%s" % (
self.url = "http://%s/?database=%s&query=%s" % (
address,
config.clickhouse.rw_user,
config.clickhouse.rw_password or "",
db,
self.encoded_sql,
)
......
Supports Markdown
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