From 40692a4e3812aaaece06e5b766821d2548e14890 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 14 Oct 2019 16:09:27 +0200 Subject: [PATCH] builder.profitbricks: remove duplicate communicator.Config field --- builder/profitbricks/config.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/builder/profitbricks/config.go b/builder/profitbricks/config.go index 4c9260a18..4cf4c9d32 100644 --- a/builder/profitbricks/config.go +++ b/builder/profitbricks/config.go @@ -23,13 +23,12 @@ type Config struct { Region string `mapstructure:"location"` Image string `mapstructure:"image"` SSHKey string - SnapshotName string `mapstructure:"snapshot_name"` - DiskSize int `mapstructure:"disk_size"` - DiskType string `mapstructure:"disk_type"` - Cores int `mapstructure:"cores"` - Ram int `mapstructure:"ram"` - Retries int `mapstructure:"retries"` - CommConfig communicator.Config `mapstructure:",squash"` + SnapshotName string `mapstructure:"snapshot_name"` + DiskSize int `mapstructure:"disk_size"` + DiskType string `mapstructure:"disk_type"` + Cores int `mapstructure:"cores"` + Ram int `mapstructure:"ram"` + Retries int `mapstructure:"retries"` ctx interpolate.Context }