Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
airflow-dags-hub
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
0
Merge Requests
0
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
唐香港
airflow-dags-hub
Commits
1a194290
Commit
1a194290
authored
Aug 30, 2019
by
唐香港
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update alarm_kafka_connect_v2.py
parent
0353542b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
alarm_kafka_connect_v2.py
dags/kafka/alarm_kafka_connect_v2.py
+1
-0
No files found.
dags/kafka/alarm_kafka_connect_v2.py
View file @
1a194290
...
@@ -81,6 +81,7 @@ def get_kafka_connectors_status(cmd):
...
@@ -81,6 +81,7 @@ def get_kafka_connectors_status(cmd):
try
:
try
:
result
=
run_command
(
cmd
,
timeout
)
result
=
run_command
(
cmd
,
timeout
)
result
=
result
.
decode
()
result
=
result
.
decode
()
logging
.
info
(
result
)
if
'Could not resolve host'
in
result
:
if
'Could not resolve host'
in
result
:
msg
=
'
\n
- **error_msg**: Could not resolve host
%
s'
%
(
cmd
)
msg
=
'
\n
- **error_msg**: Could not resolve host
%
s'
%
(
cmd
)
raise
Exception
(
msg
)
raise
Exception
(
msg
)
...
...
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