diff --git a/lib/modules/datasource/nuget/index.spec.ts b/lib/modules/datasource/nuget/index.spec.ts index 571727091dfd741d8c755901acf4e8be6e379d5e..55a8664cff5cabaa99d4c2833c703bdb3c4cb949 100644 --- a/lib/modules/datasource/nuget/index.spec.ts +++ b/lib/modules/datasource/nuget/index.spec.ts @@ -385,7 +385,7 @@ describe('modules/datasource/nuget/index', () => { 'Determined sourceUrl https://github.com/NLog/NLog.git from https://some-registry/v3-flatcontainer/nlog/4.7.3/nlog.4.7.3.nupkg', ); expect(packageCache.set).toHaveBeenCalledWith( - 'datasource-nuget', + 'datasource-nuget-v3', 'cache-decorator:source-url:https://some-registry/v3/index.json:NLog', { cachedAt: expect.any(String), @@ -455,7 +455,7 @@ describe('modules/datasource/nuget/index', () => { registryUrls: ['https://some-registry/v3/index.json'], }); expect(packageCache.set).toHaveBeenCalledWith( - 'datasource-nuget', + 'datasource-nuget-v3', 'cache-decorator:source-url:https://some-registry/v3/index.json:NLog', { cachedAt: expect.any(String), diff --git a/lib/modules/datasource/nuget/v3.ts b/lib/modules/datasource/nuget/v3.ts index f48781cdc9ba2d1520aaf35bab23e69127b5509d..2e6e289bf0478a37fcd426c2256c0a308e1c24df 100644 --- a/lib/modules/datasource/nuget/v3.ts +++ b/lib/modules/datasource/nuget/v3.ts @@ -25,7 +25,7 @@ import type { } from './types'; export class NugetV3Api { - static readonly cacheNamespace = 'datasource-nuget'; + static readonly cacheNamespace = 'datasource-nuget-v3'; async getResourceUrl( http: Http, diff --git a/lib/util/cache/package/types.ts b/lib/util/cache/package/types.ts index ad2ec69f118904cfacbe63bd368ceb18247bf6b5..180b5d628026c10dcfcc3038658e2a71c4878044 100644 --- a/lib/util/cache/package/types.ts +++ b/lib/util/cache/package/types.ts @@ -88,7 +88,7 @@ export type PackageCacheNamespace = | 'datasource-maven:metadata-xml' | 'datasource-node-version' | 'datasource-npm:data' - | 'datasource-nuget' + | 'datasource-nuget-v3' | 'datasource-orb' | 'datasource-packagist-org' | 'datasource-packagist-public-files'