From e6b86659e1101c7ad80a493b44d1c04a9892e111 Mon Sep 17 00:00:00 2001 From: ElderMatt Date: Fri, 26 Jan 2024 10:47:25 +0100 Subject: [PATCH] fix: removes stdout add log for what is added (#96) Co-authored-by: jeho <17126497+j-zimnowoda@users.noreply.github.com> --- src/operator/gitea.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/operator/gitea.ts b/src/operator/gitea.ts index f5d2f2b8..98c1dd07 100644 --- a/src/operator/gitea.ts +++ b/src/operator/gitea.ts @@ -58,13 +58,14 @@ async function execGiteaCLICommand(podNamespace: string, podName: string) { podName, 'gitea', execCommand, - process.stdout as stream.Writable, + null, process.stderr as stream.Writable, process.stdin as stream.Readable, false, (status: k8s.V1Status) => { console.log('Exited with status:') console.log(JSON.stringify(status, null, 2)) + console.debug('Changed group mapping to: ', teamNamespaceString) }, ) .catch((error) => {