mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-15 22:20:33 -04:00
Rename withHCLBucketConfiguration function
This commit is contained in:
parent
a4a97d5c05
commit
7f7f397124
1 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ func setupRegistryForPackerConfig(pc *hcl2template.PackerConfig) hcl.Diagnostics
|
|||
return diags
|
||||
}
|
||||
|
||||
withHCLBucketConfigurtation := func(bb *hcl2template.BuildBlock) bucketConfigurationOpts {
|
||||
withHCLBucketConfiguration := func(bb *hcl2template.BuildBlock) bucketConfigurationOpts {
|
||||
return func(bucket *registry.Bucket) hcl.Diagnostics {
|
||||
bb.HCPPackerRegistry.WriteToBucketConfig(bucket)
|
||||
// If at this point the bucket.Slug is still empty,
|
||||
|
|
@ -119,7 +119,7 @@ func setupRegistryForPackerConfig(pc *hcl2template.PackerConfig) hcl.Diagnostics
|
|||
pc.Bucket, diags = createConfiguredBucket(
|
||||
pc.Basedir,
|
||||
withPackerEnvConfiguration,
|
||||
withHCLBucketConfigurtation(build),
|
||||
withHCLBucketConfiguration(build),
|
||||
withDatasourceConfiguration(vals),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue