Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
3712face
Commit
3712face
authored
Aug 17, 2021
by
Andrey Vertiprahov
Browse files
Merge branch 'fix-chwriter-url-credential' into 'release-20.4'
release-20.4:Backport!5651
#1652
See merge request
!5653
parents
d5e03df7
1359ba2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
services/chwriter/channel.py
View file @
3712face
...
...
@@ -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
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment