Skip to content

Commit

Permalink
refactor(terraform): Rename cache namespace for `TerraformProviderHas…
Browse files Browse the repository at this point in the history
…h` class (#30883)
  • Loading branch information
zharinov authored Aug 19, 2024
1 parent e1c7e84 commit 228e3b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/modules/manager/terraform/lockfile/hash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class TerraformProviderHash {
}

@cache({
namespace: `datasource-${TerraformProviderDatasource.id}-build-hashes`,
namespace: `datasource-terraform-provider-hash`,
key: (build: TerraformBuild) => build.url,
ttlMinutes: TerraformProviderHash.hashCacheTTL,
})
Expand Down
2 changes: 1 addition & 1 deletion lib/util/cache/package/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export type PackageCacheNamespace =
| 'datasource-ruby-version'
| 'datasource-rubygems'
| 'datasource-terraform-module'
| 'datasource-terraform-provider-build-hashes'
| 'datasource-terraform-provider-hash'
| 'datasource-terraform-provider-builds'
| 'datasource-terraform-provider-releaseBackendIndex'
| 'datasource-terraform-provider-zip-hashes'
Expand Down

0 comments on commit 228e3b6

Please sign in to comment.