Skip to content

Commit

Permalink
fix: lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Shalev Avhar committed Aug 14, 2024
1 parent 607f04e commit 997cae6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions port_ocean/core/event_listener/polling.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ async def resync() -> None:
if self.should_resync(last_updated_at):
logger.info("Detected change in integration, resyncing")
ocean.app.last_integration_updated_at = last_updated_at
running_task: Task[Any] = get_event_loop().create_task(
self._resync({}) # type: ignore
)
running_task: Task[Any] = get_event_loop().create_task(self._resync({}))
signal_handler.register(running_task.cancel)

await running_task
Expand Down

0 comments on commit 997cae6

Please sign in to comment.