agent: Rename get_telemetry_entries() -> get_telemetry_batch()
This commit is contained in:
parent
2f62a14fbf
commit
7e3eef90cb
|
@ -15,8 +15,8 @@ class BatchableTelemMixin:
|
|||
|
||||
return self._list
|
||||
|
||||
def get_telemetry_entries(self) -> Iterable:
|
||||
def get_telemetry_batch(self) -> Iterable:
|
||||
return self._telemetry_entries
|
||||
|
||||
def add_telemetry_to_batch(self, telemetry: IBatchableTelem):
|
||||
self._telemetry_entries.extend(telemetry.get_telemetry_entries())
|
||||
self._telemetry_entries.extend(telemetry.get_telemetry_batch())
|
||||
|
|
|
@ -8,7 +8,7 @@ from infection_monkey.telemetry.i_telem import ITelem
|
|||
|
||||
class IBatchableTelem(ITelem, metaclass=abc.ABCMeta):
|
||||
@abc.abstractmethod
|
||||
def get_telemetry_entries(self) -> Iterable:
|
||||
def get_telemetry_batch(self) -> Iterable:
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
|
|
Loading…
Reference in New Issue