feat(logger) Change others logs

This commit is contained in:
2026-03-08 22:46:26 +01:00
parent feff997aba
commit 61896baad8
9 changed files with 56 additions and 23 deletions

View File

@@ -2,7 +2,6 @@ package generator
import (
"fmt"
"log"
"maps"
"os"
"path/filepath"
@@ -336,7 +335,7 @@ func (chart *HelmChart) setSharedConf(service types.ServiceConfig, deployments m
// find the configmap in the chart templates
for _, fromservice := range fromservices {
if _, ok := chart.Templates[fromservice+".configmap.yaml"]; !ok {
log.Printf("configmap %s not found in chart templates", fromservice)
logger.Warnf("configmap %s not found in chart templates", fromservice)
continue
}
// find the corresponding target deployment