Commit 3712face authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'fix-chwriter-url-credential' into 'release-20.4'

release-20.4:Backport!5651 noc/noc#1652

See merge request noc/noc!5653
parents d5e03df7 1359ba2e
...@@ -36,10 +36,8 @@ class Channel(object): ...@@ -36,10 +36,8 @@ class Channel(object):
self.last_updated = perf_counter() self.last_updated = perf_counter()
self.last_flushed = perf_counter() self.last_flushed = perf_counter()
self.flushing = False self.flushing = False
self.url = "http://%s/?user=%s&password=%s&database=%s&query=%s" % ( self.url = "http://%s/?database=%s&query=%s" % (
address, address,
config.clickhouse.rw_user,
config.clickhouse.rw_password or "",
db, db,
self.encoded_sql, 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