Commit 0b3258ed authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

fix: spec typo syntax

parent 29b65444
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ def _migrate_tpl(tpl_desc, project_dir: Path, var_prefix: str):
       for var in feat.get("variables", []):
            gl_inputs.append(_migrate_var(TbcVar.parse_obj(var), var_prefix, tpl))
    
    tpl_specs = {"specs": {"inputs": list(map(lambda input: input.to_json(), filter(lambda input: input != None, gl_inputs)))}}
    tpl_specs = {"spec": {"inputs": list(map(lambda input: input.to_json(), filter(lambda input: input != None, gl_inputs)))}}

    # rewrite template with inputs section
    # print(">> Rewrite template")