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