Skip to content

Commit ff285e0

Browse files
committed
Remove unnecessary argument in __get_shutdown_timer_actions()
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
1 parent ee89dc1 commit ff285e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launch/launch/actions/execute_local.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def _shutdown_process(self, context, *, send_sigint):
278278
'process_name': self.process_details['name'],
279279
'process_pid': self.process_details['pid'],
280280
})
281-
actions_to_return = self.__get_shutdown_timer_actions(context)
281+
actions_to_return = self.__get_shutdown_timer_actions()
282282
if send_sigint:
283283
actions_to_return.append(self.__get_sigint_event())
284284
return actions_to_return
@@ -434,7 +434,7 @@ def __on_shutdown(self, event: Event, context: LaunchContext) -> Optional[SomeAc
434434
send_sigint=not due_to_sigint or context.noninteractive,
435435
)
436436

437-
def __get_shutdown_timer_actions(self, context) -> List[Action]:
437+
def __get_shutdown_timer_actions(self)-> List[Action]:
438438
base_msg = \
439439
"process[{}] failed to terminate '{}' seconds after receiving '{}', escalating to '{}'"
440440

0 commit comments

Comments
 (0)