command/jsonprovider: staticcheck
This commit is contained in:
parent
63b521b8b7
commit
0b4c96fa92
|
@ -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{
|
||||||
|
|
Loading…
Reference in New Issue