refactor(terraform): Rename cache namespace for TerraformProviderHash class (#30883)

This commit is contained in:
Sergei Zharinov 2024-08-19 09:42:19 -03:00 committed by GitHub
parent e1c7e84dee
commit 228e3b6c6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ export class TerraformProviderHash {
} }
@cache({ @cache({
namespace: `datasource-${TerraformProviderDatasource.id}-build-hashes`, namespace: `datasource-terraform-provider-hash`,
key: (build: TerraformBuild) => build.url, key: (build: TerraformBuild) => build.url,
ttlMinutes: TerraformProviderHash.hashCacheTTL, ttlMinutes: TerraformProviderHash.hashCacheTTL,
}) })

View file

@ -100,7 +100,7 @@ export type PackageCacheNamespace =
| 'datasource-ruby-version' | 'datasource-ruby-version'
| 'datasource-rubygems' | 'datasource-rubygems'
| 'datasource-terraform-module' | 'datasource-terraform-module'
| 'datasource-terraform-provider-build-hashes' | 'datasource-terraform-provider-hash'
| 'datasource-terraform-provider-builds' | 'datasource-terraform-provider-builds'
| 'datasource-terraform-provider-releaseBackendIndex' | 'datasource-terraform-provider-releaseBackendIndex'
| 'datasource-terraform-provider-zip-hashes' | 'datasource-terraform-provider-zip-hashes'