From 4e9e3004ff959f194a6d9eb636f8a02c3c8eb5bf Mon Sep 17 00:00:00 2001 From: andrii-codefresh Date: Tue, 8 Oct 2024 13:06:36 +0300 Subject: [PATCH] change error to info when using default version config --- reposerver/repository/repository.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reposerver/repository/repository.go b/reposerver/repository/repository.go index 1bcac2a51554b..5415f9b90d1ac 100644 --- a/reposerver/repository/repository.go +++ b/reposerver/repository/repository.go @@ -1598,7 +1598,12 @@ func GenerateManifests(ctx context.Context, appPath, repoRoot, revision string, if codefreshApplicationVersioningEnabled { appVersions, err := getAppVersions(appPath, versionConfig) if err != nil { - log.Errorf("failed to retrieve application version, app name: %q: %s", q.AppName, err.Error()) + errorMessage := fmt.Sprintf("failed to retrieve application version, app name: %q: %s", q.AppName, err.Error()) + if versionConfig.ResourceName == "Chart.yaml" { + log.Info(errorMessage) + } else { + log.Error(errorMessage) + } } else { res.ApplicationVersions = &apiclient.ApplicationVersions{ AppVersion: appVersions.AppVersion,