We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d068a commit 5e10e59Copy full SHA for 5e10e59
2 files changed
src/dstack/_internal/cli/commands/offer.py
@@ -84,6 +84,8 @@ def _command(self, args: argparse.Namespace):
84
job_plan = run_plan.job_plans[0]
85
86
if args.format == "json":
87
+ # FIXME: Should use effective_run_spec from run_plan,
88
+ # since the spec can be changed by the server and plugins
89
output = {
90
"project": run_plan.project_name,
91
"user": run_plan.user,
src/dstack/_internal/cli/services/configurators/run.py
@@ -105,7 +105,7 @@ def apply_configuration(
105
changed_fields = []
106
if run_plan.action == ApplyAction.UPDATE:
107
diff = diff_models(
108
- run_plan.run_spec.configuration,
+ run_plan.get_effective_run_spec().configuration,
109
run_plan.current_resource.run_spec.configuration,
110
)
111
changed_fields = list(diff.keys())
0 commit comments