Merge pull request #2915 from Rickaym/fix--rounding-the-edges-of-observer-function-method-deprecation
fix: use correct property names
This commit is contained in:
@@ -189,7 +189,7 @@ class TaskObserver(BaseObserver):
|
|||||||
if isinstance(data, FramePushed):
|
if isinstance(data, FramePushed):
|
||||||
if on_push_frame_deprecated:
|
if on_push_frame_deprecated:
|
||||||
await observer.on_push_frame(
|
await observer.on_push_frame(
|
||||||
data.src, data.dst, data.frame, data.direction, data.timestamp
|
data.source, data.destination, data.frame, data.direction, data.timestamp
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
await observer.on_push_frame(data)
|
await observer.on_push_frame(data)
|
||||||
|
|||||||
Reference in New Issue
Block a user