Skip to content

Commit

Permalink
Fix lrestart parsing (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaiazzi committed May 17, 2024
1 parent 23a94d5 commit cac8513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kathara/cli/command/LrestartCommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ def run(self, current_path: str, argv: List[str]) -> None:

lclean_argv = ['-d', args['directory']] if args['directory'] else []

if args['excluded_machines']:
lclean_argv.extend(['--exclude'] + args['excluded_machines'])
if args['machine_name']:
lclean_argv.extend(args['machine_name'])
if args['excluded_machines']:
lclean_argv.extend(['--exclude'] + args['excluded_machines'])

LcleanCommand().run(current_path, lclean_argv)
LstartCommand().run(current_path, argv)

0 comments on commit cac8513

Please sign in to comment.