diff --git a/monkey/infection_monkey/telemetry/batchable_telem_mixin.py b/monkey/infection_monkey/telemetry/batchable_telem_mixin.py index 4189f0cf0..913d7d40e 100644 --- a/monkey/infection_monkey/telemetry/batchable_telem_mixin.py +++ b/monkey/infection_monkey/telemetry/batchable_telem_mixin.py @@ -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()) diff --git a/monkey/infection_monkey/telemetry/i_batchable_telem.py b/monkey/infection_monkey/telemetry/i_batchable_telem.py index 3cb82fd44..e02c41118 100644 --- a/monkey/infection_monkey/telemetry/i_batchable_telem.py +++ b/monkey/infection_monkey/telemetry/i_batchable_telem.py @@ -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