From 30070ffb30ee5e118abf3e401fd5164da9cc06fc Mon Sep 17 00:00:00 2001 From: DanHam Date: Wed, 28 Aug 2019 09:31:34 +0100 Subject: [PATCH] Sort fields and options alphabetically --- builder/amazon/ebsvolume/builder.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/amazon/ebsvolume/builder.go b/builder/amazon/ebsvolume/builder.go index 7047c1734..941b2f958 100644 --- a/builder/amazon/ebsvolume/builder.go +++ b/builder/amazon/ebsvolume/builder.go @@ -23,9 +23,9 @@ type Config struct { awscommon.AccessConfig `mapstructure:",squash"` awscommon.RunConfig `mapstructure:",squash"` - VolumeMappings []BlockDevice `mapstructure:"ebs_volumes"` AMIENASupport *bool `mapstructure:"ena_support"` AMISriovNetSupport bool `mapstructure:"sriov_support"` + VolumeMappings []BlockDevice `mapstructure:"ebs_volumes"` launchBlockDevices awscommon.BlockDevices ctx interpolate.Context @@ -120,8 +120,8 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack AssociatePublicIpAddress: b.config.AssociatePublicIpAddress, BlockDevices: b.config.launchBlockDevices, BlockDurationMinutes: b.config.BlockDurationMinutes, - Ctx: b.config.ctx, Comm: &b.config.RunConfig.Comm, + Ctx: b.config.ctx, Debug: b.config.PackerDebug, EbsOptimized: b.config.EbsOptimized, ExpectedRootDevice: "ebs", @@ -129,8 +129,8 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack InstanceInitiatedShutdownBehavior: b.config.InstanceInitiatedShutdownBehavior, InstanceType: b.config.InstanceType, SourceAMI: b.config.SourceAmi, - SpotPrice: b.config.SpotPrice, SpotInstanceTypes: b.config.SpotInstanceTypes, + SpotPrice: b.config.SpotPrice, SpotTags: b.config.SpotTags, Tags: b.config.RunTags, UserData: b.config.UserData,