Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
mentha
Commits
bc15a813
Commit
bc15a813
authored
Jul 20, 2021
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
33f4c85b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
toutiao.py
qa/models/toutiao.py
+1
-1
No files found.
qa/models/toutiao.py
View file @
bc15a813
...
...
@@ -75,7 +75,7 @@ def get_service_es(es_hosts_config=None):
'sniff_on_connection_fail'
:
False
,
}
new_hosts
=
settings
.
ES7_
SERVICE_
HOSTS
if
not
es_hosts_config
else
es_hosts_config
new_hosts
=
settings
.
ES7_HOSTS
if
not
es_hosts_config
else
es_hosts_config
new_es
=
Es
(
hosts
=
new_hosts
,
http_auth
=
(
settings
.
HTTP_AUTH_NAME
,
settings
.
HTTP_AUTH_PWD
),
**
init_args
)
return
new_es
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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