From cd6d992b636800650263d1d835710371c52e072b Mon Sep 17 00:00:00 2001 From: devops Date: Wed, 16 Sep 2026 16:18:02 +0000 Subject: [PATCH] python me chr(10): groovy escape ka jhanjhat khatam --- vars/gitopsPromote.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/gitopsPromote.groovy b/vars/gitopsPromote.groovy index d81697b..ceea4d9 100644 --- a/vars/gitopsPromote.groovy +++ b/vars/gitopsPromote.groovy @@ -23,7 +23,7 @@ for f in sorted(pathlib.Path(path).rglob("*.yaml")): for ln in lines: if ln.strip().startswith("image:") and (image + ":") in ln: indent = ln[: len(ln) - len(ln.lstrip())] - out.append(indent + "image: " + image + ":" + tag + "\n") + out.append(indent + "image: " + image + ":" + tag + chr(10)) hit = True else: out.append(ln)