From c8fd53d60b9f69096d5208fce7d7452661c23b63 Mon Sep 17 00:00:00 2001 From: Tom Carrio Date: Mon, 16 Jul 2018 13:26:09 -0400 Subject: [PATCH] make fmt --- builder/openstack/image_query_test.go | 2 +- builder/openstack/step_source_image_info.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/openstack/image_query_test.go b/builder/openstack/image_query_test.go index d8b24feca..f7eb0fa5e 100644 --- a/builder/openstack/image_query_test.go +++ b/builder/openstack/image_query_test.go @@ -127,7 +127,7 @@ func TestImageFilterOptionsDecode(t *testing.T) { "most_recent": true, "filters": map[string]interface{}{ "visibility": "protected", - "tag": []string{"prod","ready"}, + "tag": []string{"prod", "ready"}, "name": "ubuntu 16.04", }, } diff --git a/builder/openstack/step_source_image_info.go b/builder/openstack/step_source_image_info.go index b5f6e20f9..2f51b0aab 100644 --- a/builder/openstack/step_source_image_info.go +++ b/builder/openstack/step_source_image_info.go @@ -19,7 +19,7 @@ type StepSourceImageInfo struct { type ImageFilterOptions struct { Filters map[string]interface{} `mapstructure:"filters"` - MostRecent bool `mapstructure:"most_recent"` + MostRecent bool `mapstructure:"most_recent"` } func (s *StepSourceImageInfo) Run(_ context.Context, state multistep.StateBag) multistep.StepAction {