From d36a727c4fd398b4f3b06451621bf25f76bf7c38 Mon Sep 17 00:00:00 2001 From: asrajput Date: Fri, 10 Jan 2025 15:29:11 +0530 Subject: [PATCH 1/4] Fixing typo in path pkg/cache/memory/cache.go at line 174 --- pkg/cache/memory/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cache/memory/cache.go b/pkg/cache/memory/cache.go index 59e9a717..86ab88cc 100644 --- a/pkg/cache/memory/cache.go +++ b/pkg/cache/memory/cache.go @@ -172,7 +172,7 @@ func (c *Cache) OpenRepository(ctx context.Context, repositorySpec *configapi.Re } func (c *Cache) CloseRepository(ctx context.Context, repositorySpec *configapi.Repository, allRepos []configapi.Repository) error { - _, span := tracer.Start(ctx, "Cache::OpenRepository", trace.WithAttributes()) + _, span := tracer.Start(ctx, "Cache::CloseRepository", trace.WithAttributes()) defer span.End() key, err := getCacheKey(repositorySpec) From 8a6bf549167359bdd655470cf76c8c4c72532383 Mon Sep 17 00:00:00 2001 From: asrajput Date: Mon, 13 Jan 2025 18:07:50 +0530 Subject: [PATCH 2/4] Fixing typo in path pkg/cache/memory/cache.go at line 174 --- pkg/cache/memory/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cache/memory/cache.go b/pkg/cache/memory/cache.go index 86ab88cc..94628b64 100644 --- a/pkg/cache/memory/cache.go +++ b/pkg/cache/memory/cache.go @@ -210,4 +210,4 @@ func (c *Cache) CloseRepository(ctx context.Context, repositorySpec *configapi.R } else { return nil } -} +} From 1b6e54dd0ab54e3746ed09cda2b0cc93c2283fb6 Mon Sep 17 00:00:00 2001 From: asrajput Date: Mon, 13 Jan 2025 18:55:23 +0530 Subject: [PATCH 3/4] Fixing typo in path pkg/cache/memory/cache.go at line 174 --- pkg/cache/memory/cache.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cache/memory/cache.go b/pkg/cache/memory/cache.go index 94628b64..3fbcfe43 100644 --- a/pkg/cache/memory/cache.go +++ b/pkg/cache/memory/cache.go @@ -210,4 +210,5 @@ func (c *Cache) CloseRepository(ctx context.Context, repositorySpec *configapi.R } else { return nil } -} +} + From 76b7f9754b1165a7789d390e3f2d84d543a84102 Mon Sep 17 00:00:00 2001 From: asrajput Date: Mon, 13 Jan 2025 18:59:54 +0530 Subject: [PATCH 4/4] Fixing typo in path pkg/cache/memory/cache.go at line 174 --- pkg/cache/memory/cache.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/cache/memory/cache.go b/pkg/cache/memory/cache.go index 3fbcfe43..86ab88cc 100644 --- a/pkg/cache/memory/cache.go +++ b/pkg/cache/memory/cache.go @@ -211,4 +211,3 @@ func (c *Cache) CloseRepository(ctx context.Context, repositorySpec *configapi.R return nil } } -