Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
csst-dag
Commits
ff9d6fc3
Commit
ff9d6fc3
authored
Jun 12, 2025
by
BO ZHANG
🏀
Browse files
remove redis from config
parent
5be56e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dfs/__init__.py
View file @
ff9d6fc3
...
...
@@ -36,8 +36,8 @@ class DFS:
print
(
"Test all locations..."
,
end
=
""
)
status_list
=
[]
for
loc
in
CONFIG
.
keys
():
dfs_ip
=
CONFIG
[
loc
][
"
dfs"
][
"
CSST_DFS_GATEWAY"
].
split
(
":"
)[
0
]
dfs_port
=
int
(
CONFIG
[
loc
][
"
dfs"
][
"
CSST_DFS_GATEWAY"
].
split
(
":"
)[
1
])
dfs_ip
=
CONFIG
[
loc
][
"CSST_DFS_GATEWAY"
].
split
(
":"
)[
0
]
dfs_port
=
int
(
CONFIG
[
loc
][
"CSST_DFS_GATEWAY"
].
split
(
":"
)[
1
])
# redis_ip = CONFIG[loc]["redis"]["host"]
# redis_port = CONFIG[loc]["redis"]["port"]
this_dfs_status
=
check_port
(
dfs_ip
,
dfs_port
,
timeout
=
1
)
...
...
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