Skip to content

Commit

Permalink
rm unused err
Browse files Browse the repository at this point in the history
  • Loading branch information
jeshan committed Jul 29, 2019
1 parent cbf07c3 commit 70da569
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions create-provider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ import (
//noinspection ALL
func CreateProvider() (terraform.ResourceProvider, error) {
provider := ${provider}.Provider()
rawConfig, err := config.NewRawConfig(map[string]interface{}{})
if err != nil {
return nil, err
}
rawConfig, _ := config.NewRawConfig(map[string]interface{}{})
conf := terraform.NewResourceConfig(rawConfig)
err = provider.Configure(conf)
err := provider.Configure(conf)
return provider, err
}
EOL
Expand Down

0 comments on commit 70da569

Please sign in to comment.