Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Jul 15, 2023
1 parent decb229 commit 29b8bda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dnscheck/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,9 @@ def get_running_tasks(service):
print("STDERR: ")
print(res.stderr)

check_result = ContainerNetworkTableResult.schema().loads(res.stdout)
ret.append(check_result)
if res.returncode == 0:
check_result = ContainerNetworkTableResult.schema().loads(res.stdout)
ret.append(check_result)
except Exception as e:
traceback.print_exc()
finally:
Expand Down

0 comments on commit 29b8bda

Please sign in to comment.