From c2f2f439b646557d699fe5fc1633b25aa07b1cf0 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov <zharinov@users.noreply.github.com>
Date: Mon, 19 Aug 2024 12:27:20 -0300
Subject: [PATCH] refactor(repology): Rename cache namespace (#30881)

---
 lib/modules/datasource/repology/index.ts | 2 +-
 lib/util/cache/package/types.ts          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/modules/datasource/repology/index.ts b/lib/modules/datasource/repology/index.ts
index d7f6c3a514..987a2c20ea 100644
--- a/lib/modules/datasource/repology/index.ts
+++ b/lib/modules/datasource/repology/index.ts
@@ -109,7 +109,7 @@ export class RepologyDatasource extends Datasource {
 
   @cache({
     ttlMinutes: 60,
-    namespace: `datasource-${RepologyDatasource.id}-list`,
+    namespace: `datasource-${RepologyDatasource.id}`,
     key: (registryUrl: string, repoName: string, pkgName: string) =>
       joinUrlParts(registryUrl, repoName, pkgName),
   })
diff --git a/lib/util/cache/package/types.ts b/lib/util/cache/package/types.ts
index 4a545e5c50..ad2ec69f11 100644
--- a/lib/util/cache/package/types.ts
+++ b/lib/util/cache/package/types.ts
@@ -96,7 +96,7 @@ export type PackageCacheNamespace =
   | 'datasource-pod'
   | 'datasource-python-version'
   | 'datasource-releases'
-  | 'datasource-repology-list'
+  | 'datasource-repology'
   | 'datasource-ruby-version'
   | 'datasource-rubygems'
   | 'datasource-terraform-module'
-- 
GitLab