File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ def _command(self, args: argparse.Namespace):
8484 job_plan = run_plan .job_plans [0 ]
8585
8686 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
8789 output = {
8890 "project" : run_plan .project_name ,
8991 "user" : run_plan .user ,
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def apply_configuration(
105105 changed_fields = []
106106 if run_plan .action == ApplyAction .UPDATE :
107107 diff = diff_models (
108- run_plan .run_spec .configuration ,
108+ run_plan .get_effective_run_spec () .configuration ,
109109 run_plan .current_resource .run_spec .configuration ,
110110 )
111111 changed_fields = list (diff .keys ())
You can’t perform that action at this time.
0 commit comments