Skip to content

Commit

Permalink
fix crash with invalid bootscript filter
Browse files Browse the repository at this point in the history
closes #21
  • Loading branch information
nicolai86 committed Oct 8, 2017
1 parent 3e47309 commit b1ceb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scaleway/data_source_bootscript.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func dataSourceScalewayBootscriptRead(d *schema.ResourceData, meta interface{})
return err
}

var isMatch func(api.ScalewayBootscript) bool
isMatch := func(s api.ScalewayBootscript) bool { return true }

architecture := d.Get("architecture")
if name, ok := d.GetOk("name"); ok {
Expand Down

0 comments on commit b1ceb9e

Please sign in to comment.