From 17c6b9e31f9910c30ac660476e7bed8103f3935e Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 16 Nov 2018 06:54:27 +0300 Subject: meta, refactoring --- kvmd/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/logging.py') diff --git a/kvmd/logging.py b/kvmd/logging.py index 0efb9cb4..11a8dcf1 100644 --- a/kvmd/logging.py +++ b/kvmd/logging.py @@ -33,7 +33,7 @@ class Log: self.__services = services self.__loop = loop - async def log(self, seek: int, follow: bool) -> AsyncGenerator[Dict, None]: + async def poll_log(self, seek: int, follow: bool) -> AsyncGenerator[Dict, None]: reader = systemd.journal.Reader() reader.this_boot() reader.this_machine() -- cgit v1.2.3