Skip to content

Commit

Permalink
Remove unnecessary argument in __get_shutdown_timer_actions()
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
  • Loading branch information
ivanpauno committed Dec 1, 2022
1 parent ee89dc1 commit ff285e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launch/launch/actions/execute_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def _shutdown_process(self, context, *, send_sigint):
'process_name': self.process_details['name'],
'process_pid': self.process_details['pid'],
})
actions_to_return = self.__get_shutdown_timer_actions(context)
actions_to_return = self.__get_shutdown_timer_actions()
if send_sigint:
actions_to_return.append(self.__get_sigint_event())
return actions_to_return
Expand Down Expand Up @@ -434,7 +434,7 @@ def __on_shutdown(self, event: Event, context: LaunchContext) -> Optional[SomeAc
send_sigint=not due_to_sigint or context.noninteractive,
)

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

Expand Down

0 comments on commit ff285e0

Please sign in to comment.