From 9bb9ac30c645e4f3ca5531a418bf841f05208296 Mon Sep 17 00:00:00 2001 From: Markus Blaschke Date: Sat, 14 Sep 2024 15:32:46 +0200 Subject: [PATCH] fix merge issues Signed-off-by: Markus Blaschke --- metrics_build.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metrics_build.go b/metrics_build.go index 097afae..fc7e8b5 100644 --- a/metrics_build.go +++ b/metrics_build.go @@ -306,7 +306,7 @@ func (m *MetricsCollectorBuild) collectBuildsTimeline(ctx context.Context, logge minTime := time.Now().Add(-Opts.Limit.BuildHistoryDuration) statusFilter := "completed" - if arrayStringContains(Opts.AzureDevops.FetchAllBuildsFilter, project.Name) || arrayStringContains(opts.AzureDevops.FetchAllBuildsFilter, project.Id) { + if arrayStringContains(Opts.AzureDevops.FetchAllBuildsFilter, project.Name) || arrayStringContains(Opts.AzureDevops.FetchAllBuildsFilter, project.Id) { logger.Info("fetching all builds for project " + project.Name) statusFilter = "all" } @@ -655,7 +655,7 @@ func (m *MetricsCollectorBuild) collectBuildsTags(ctx context.Context, logger *z minTime := time.Now().Add(-Opts.Limit.BuildHistoryDuration) statusFilter := "completed" - if arrayStringContains(Opts.AzureDevops.FetchAllBuildsFilter, project.Name) || arrayStringContains(opts.AzureDevops.FetchAllBuildsFilter, project.Id) { + if arrayStringContains(Opts.AzureDevops.FetchAllBuildsFilter, project.Name) || arrayStringContains(Opts.AzureDevops.FetchAllBuildsFilter, project.Id) { logger.Info("fetching all builds for project " + project.Name) statusFilter = "all" }