From 31e0ca6c912976a369104cc8f9ae72905acb56fe Mon Sep 17 00:00:00 2001 From: marcos-silva-rodrigues Date: Thu, 28 Aug 2025 16:52:52 -0300 Subject: [PATCH] UPDATE: affinity and log --- deploy/helm-chart/values.yaml | 2 +- src/modules/pipelinesV2/pipelines.controller.ts | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/deploy/helm-chart/values.yaml b/deploy/helm-chart/values.yaml index 810088f..0c4db2e 100644 --- a/deploy/helm-chart/values.yaml +++ b/deploy/helm-chart/values.yaml @@ -64,4 +64,4 @@ affinity: - key: name operator: In values: - - general + - product diff --git a/src/modules/pipelinesV2/pipelines.controller.ts b/src/modules/pipelinesV2/pipelines.controller.ts index 6986f25..f96223e 100644 --- a/src/modules/pipelinesV2/pipelines.controller.ts +++ b/src/modules/pipelinesV2/pipelines.controller.ts @@ -205,13 +205,10 @@ export class PipelinesController { async getPipelineStatus(@Body() body, @Param('id') id: string) { body.id = id; - this.logger.info( - process.env.DEV_URL + `/pipeline/${id} - ON GET PIPELINE STATUS ROUTE`, - { - user: body.info.user_id, - customer: body.info.customer, - }, - ); + this.logger.info(`/pipeline/${id} - ON GET PIPELINE STATUS ROUTE`, { + user: body.info.user_id, + customer: body.info.customer, + }); const response = await this.oldPipelinesService.getPipelineStatus(body); @@ -256,6 +253,7 @@ export class PipelinesController { }); return res; }); + return result; }