pull/6490/head
Tom Carrio 8 years ago
parent de9999ecb9
commit c8fd53d60b

@ -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",
},
}

@ -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 {

Loading…
Cancel
Save