mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 04:22:58 +00:00
Fix
This commit is contained in:
@@ -109,11 +109,11 @@ class TrackedContainer:
|
||||
|
||||
@staticmethod
|
||||
def get_warnings(logs: str) -> list[str]:
|
||||
return [l for l in logs.split("\n") if l.startswith("WARNING")]
|
||||
return [line for line in logs.split("\n") if line.startswith("WARNING")]
|
||||
|
||||
@staticmethod
|
||||
def get_errrors(logs: str) -> list[str]:
|
||||
return [l for l in logs.split("\n") if l.startswith("ERROR")]
|
||||
def get_errors(logs: str) -> list[str]:
|
||||
return [line for line in logs.split("\n") if line.startswith("ERROR")]
|
||||
|
||||
def remove(self):
|
||||
"""Kills and removes the tracked docker container."""
|
||||
|
Reference in New Issue
Block a user