Skip to content

Commit

Permalink
- [Bug]: The dstack run command doesn't support ${{ run.args }} anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschmidt85 committed Jan 12, 2024
1 parent a16e3c2 commit 846e2e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dstack/_internal/cli/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def _command(self, args: argparse.Namespace):
parser = argparse.ArgumentParser()
configurator = run_configurators_mapping[ConfigurationType(conf.type)]
configurator.register(parser)
args, unknown = parser.parse_known_args(args.unknown)
configurator.apply(args, unknown, conf)
known, unknown = parser.parse_known_args(args.unknown)
configurator.apply(known, unknown, conf)

with console.status("Getting run plan..."):
run_plan = self.api.runs.get_plan(
Expand Down

0 comments on commit 846e2e3

Please sign in to comment.