From e1c84806cc25da8f40d0e1f6fa989fb32e485a3e Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 16 Mar 2020 14:55:03 +0100 Subject: [PATCH] rewrap --- builder/alicloud/ecs/image_config.go | 4 ++-- builder/amazon/common/ami_config.go | 6 +++--- builder/amazon/common/run_config.go | 4 ++-- builder/hyperone/config.go | 8 ++++---- builder/tencentcloud/cvm/run_config.go | 4 ++-- builder/triton/target_image_config.go | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/builder/alicloud/ecs/image_config.go b/builder/alicloud/ecs/image_config.go index 7b3f47c55..b870e24ae 100644 --- a/builder/alicloud/ecs/image_config.go +++ b/builder/alicloud/ecs/image_config.go @@ -192,8 +192,8 @@ type AlicloudImageConfig struct { AlicloudImageSkipRegionValidation bool `mapstructure:"skip_region_validation" required:"false"` // Tags applied to the destination image and relevant snapshots. AlicloudImageTags map[string]string `mapstructure:"tags" required:"false"` - // Same as [`tags`](#tags) but defined as a singular repeatable block containing a key - // and a value field. In HCL2 mode the + // Same as [`tags`](#tags) but defined as a singular repeatable block + // containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. AlicloudImageTag hcl2template.KeyValues `mapstructure:"tag" required:"false"` diff --git a/builder/amazon/common/ami_config.go b/builder/amazon/common/ami_config.go index 18911e405..6b98ef4c0 100644 --- a/builder/amazon/common/ami_config.go +++ b/builder/amazon/common/ami_config.go @@ -51,8 +51,8 @@ type AMIConfig struct { // [template engine](/docs/templates/engine.html), see [Build template // data](#build-template-data) for more information. AMITags TagMap `mapstructure:"tags" required:"false"` - // Same as [`tags`](#tags) but defined as a singular repeatable block containing a key - // and a value field. In HCL2 mode the + // Same as [`tags`](#tags) but defined as a singular repeatable block + // containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. AMITag hcl2template.KeyValues `mapstructure:"tag" required:"false"` @@ -123,7 +123,7 @@ type AMIConfig struct { // data](#build-template-data) for more information. SnapshotTags TagMap `mapstructure:"snapshot_tags" required:"false"` // Same as [`snapshot_tags`](#snapshot_tags) but defined as a singular - // block containing a key and a value field. In HCL2 mode the + // repeatable block containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. SnapshotTag hcl2template.KeyValues `mapstructure:"snapshot_tag" required:"false"` diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go index 63af075d2..9ab6fe3bf 100644 --- a/builder/amazon/common/run_config.go +++ b/builder/amazon/common/run_config.go @@ -187,8 +187,8 @@ type RunConfig struct { // EBS volumes. This is a [template engine](/docs/templates/engine.html), // see [Build template data](#build-template-data) for more information. RunTags map[string]string `mapstructure:"run_tags" required:"false"` - // Same as [`run_tags`](#run_tags) but defined as a singular repeatable block - // containing a key and a value field. In HCL2 mode the + // Same as [`run_tags`](#run_tags) but defined as a singular repeatable + // block containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. RunTag hcl2template.KeyValues `mapstructure:"run_tag" required:"false"` diff --git a/builder/hyperone/config.go b/builder/hyperone/config.go index 7d6fe5603..f8430cc91 100644 --- a/builder/hyperone/config.go +++ b/builder/hyperone/config.go @@ -63,8 +63,8 @@ type Config struct { ImageDescription string `mapstructure:"image_description" required:"false"` // Key/value pair tags to add to the created image. ImageTags map[string]string `mapstructure:"image_tags" required:"false"` - // Same as [`image_tags`](#image_tags) but defined as a singular repeatable block - // containing a key and a value field. In HCL2 mode the + // Same as [`image_tags`](#image_tags) but defined as a singular repeatable + // block containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. ImageTag hcl2template.KeyValues `mapstructure:"image_tag" required:"false"` @@ -77,8 +77,8 @@ type Config struct { // Key/value pair tags to // add to the created server. VmTags map[string]string `mapstructure:"vm_tags" required:"false"` - // Same as [`vm_tags`](#vm_tags) but defined as a singular repeatable block containing - // a key and a value field. In HCL2 mode the + // Same as [`vm_tags`](#vm_tags) but defined as a singular repeatable block + // containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. VmTag hcl2template.KeyValues `mapstructure:"vm_tag" required:"false"` diff --git a/builder/tencentcloud/cvm/run_config.go b/builder/tencentcloud/cvm/run_config.go index 81f33b1f3..deb12725d 100644 --- a/builder/tencentcloud/cvm/run_config.go +++ b/builder/tencentcloud/cvm/run_config.go @@ -84,8 +84,8 @@ type TencentCloudRunConfig struct { // Tags to apply to the instance that is *launched* to create the image. // These tags are *not* applied to the resulting image. RunTags map[string]string `mapstructure:"run_tags" required:"false"` - // Same as [`run_tags`](#run_tags) but defined as a singular repeatable block - // containing a key and a value field. In HCL2 mode the + // Same as [`run_tags`](#run_tags) but defined as a singular repeatable + // block containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. RunTag hcl2template.KeyValues `mapstructure:"run_tag" required:"false"` diff --git a/builder/triton/target_image_config.go b/builder/triton/target_image_config.go index c5a30c22f..4c160d17e 100644 --- a/builder/triton/target_image_config.go +++ b/builder/triton/target_image_config.go @@ -37,8 +37,8 @@ type TargetImageConfig struct { ImageACL []string `mapstructure:"image_acls" required:"false"` // Tag applied to the image. ImageTags map[string]string `mapstructure:"image_tags" required:"false"` - // Same as [`image_tags`](#image_tags) but defined as a singular repeatable block - // containing a key and a value field. In HCL2 mode the + // Same as [`image_tags`](#image_tags) but defined as a singular repeatable + // block containing a key and a value field. In HCL2 mode the // [`dynamic_block`](https://packer.io/docs/configuration/from-1.5/expressions.html#dynamic-blocks) // will allow you to create those programatically. ImageTag hcl2template.KeyValues `mapstructure:"image_tag" required:"false"`