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 {