Skip to content

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed May 21, 2020
1 parent 6c223aa commit 53ed670
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions internal/terraform/schema/schema_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (s *Storage) Providers() ([]string, error) {
}

providers := make([]string, 0)
for name, _ := range ps.Schemas {
for name := range ps.Schemas {
providers = append(providers, name)
}

Expand Down Expand Up @@ -214,7 +214,7 @@ func (s *Storage) Resources() ([]Resource, error) {

resources := make([]Resource, 0)
for provider, schema := range ps.Schemas {
for name, _ := range schema.ResourceSchemas {
for name := range schema.ResourceSchemas {
resources = append(resources, Resource{
Provider: provider,
Name: name,
Expand Down Expand Up @@ -254,7 +254,7 @@ func (s *Storage) DataSources() ([]DataSource, error) {

dataSources := make([]DataSource, 0)
for provider, schema := range ps.Schemas {
for name, _ := range schema.DataSourceSchemas {
for name := range schema.DataSourceSchemas {
dataSources = append(dataSources, DataSource{
Provider: provider,
Name: name,
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package version

import (
"fmt"
"errors"
"fmt"

version "github.com/hashicorp/go-version"
)
Expand Down

0 comments on commit 53ed670

Please sign in to comment.