Skip to content

Commit

Permalink
fix merge issues
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Sep 14, 2024
1 parent d37f2fe commit 9bb9ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit 9bb9ac3

Please sign in to comment.