Skip to content

Commit

Permalink
Nolint unparam false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
appilon committed Aug 5, 2020
1 parent ca50fe9 commit c6e0960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func init() {
var factories = make(map[string]func() (*schema.Provider, error), len(providerNames))
for _, name := range providerNames {
p := Provider()
factories[name] = func() (*schema.Provider, error) {
factories[name] = func() (*schema.Provider, error) { //nolint:unparam
return p, nil
}
*providers = append(*providers, p)
Expand Down

0 comments on commit c6e0960

Please sign in to comment.