command/jsonprovider: staticcheck

This commit is contained in:
James Bardin 2020-12-01 16:53:32 -05:00
parent 63b521b8b7
commit 0b4c96fa92
1 changed files with 0 additions and 9 deletions

View File

@ -7,7 +7,6 @@ import (
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty"
"github.com/hashicorp/terraform/addrs"
"github.com/hashicorp/terraform/configs/configschema" "github.com/hashicorp/terraform/configs/configschema"
"github.com/hashicorp/terraform/terraform" "github.com/hashicorp/terraform/terraform"
) )
@ -130,14 +129,6 @@ func TestMarshalProvider(t *testing.T) {
} }
} }
func testProviders() *terraform.Schemas {
return &terraform.Schemas{
Providers: map[addrs.Provider]*terraform.ProviderSchema{
addrs.NewDefaultProvider("test"): testProvider(),
},
}
}
func testProvider() *terraform.ProviderSchema { func testProvider() *terraform.ProviderSchema {
return &terraform.ProviderSchema{ return &terraform.ProviderSchema{
Provider: &configschema.Block{ Provider: &configschema.Block{