Commit c66954bf authored by Clement Bois's avatar Clement Bois
Browse files

fix: format tags correctly

parent 20e1aa3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -532,7 +532,7 @@ class Scanner:
            data["parent"] = {"uuid": parent_def.uuid}

        if self.tags:
            data["tags"] = self.tags
            data["tags"] = list({"name": tag} for tag in self.tags)

        print(
            f"- {AnsiColors.YELLOW}{project_path}{AnsiColors.RESET} not found: create with params {AnsiColors.HGRAY}{json.dumps(data)}{AnsiColors.RESET}..."
@@ -638,7 +638,7 @@ class Scanner:
                    params["parentName"] = parent_def.name
                    params["parentVersion"] = parent_def.version
            if self.tags:
                params["projectTags"] = self.tags
                params["projectTags"] = ",".join(self.tags)
        
        # Include isLatest only if DT version supports it (>= 4.12.0)
        if self.dt_version >= Version("4.12.0"):