Skip to content

Commit 146e409

Browse files
committed
Fix noop messenger
1 parent 85fbcc4 commit 146e409

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

caso/messenger/noop.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"""Module containing a No-Op (No Operation) messenger that does nothing."""
1818

1919
from oslo_log import log
20-
import six
2120

2221
import caso.messenger
2322

@@ -29,5 +28,5 @@ class NoopMessenger(caso.messenger.BaseMessenger):
2928

3029
def push(self, records):
3130
"""Push records to nowhere."""
32-
for uuid, _ in six.iteritems(records):
33-
LOG.info(f"nooping {uuid}")
31+
for record in records:
32+
LOG.info(f"nooping {record.uuid} for record {record.__class__}")

0 commit comments

Comments
 (0)