don't use legacy import for the UIInput interface

The import was switch for other types which has since been removed.
Point this at the correct package.
This commit is contained in:
James Bardin 2020-12-02 15:44:58 -05:00
parent dcf0dba6f4
commit dd5dae27f8
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import (
"net/rpc" "net/rpc"
"github.com/hashicorp/go-plugin" "github.com/hashicorp/go-plugin"
"github.com/hashicorp/terraform/internal/legacy/terraform" "github.com/hashicorp/terraform/terraform"
) )
// UIInput is an implementation of terraform.UIInput that communicates // UIInput is an implementation of terraform.UIInput that communicates

View File

@ -6,7 +6,7 @@ import (
"testing" "testing"
"github.com/hashicorp/go-plugin" "github.com/hashicorp/go-plugin"
"github.com/hashicorp/terraform/internal/legacy/terraform" "github.com/hashicorp/terraform/terraform"
) )
func TestUIInput_impl(t *testing.T) { func TestUIInput_impl(t *testing.T) {

View File

@ -3,7 +3,7 @@ package plugin
import ( import (
"net/rpc" "net/rpc"
"github.com/hashicorp/terraform/internal/legacy/terraform" "github.com/hashicorp/terraform/terraform"
) )
// UIOutput is an implementatin of terraform.UIOutput that communicates // UIOutput is an implementatin of terraform.UIOutput that communicates

View File

@ -4,7 +4,7 @@ import (
"testing" "testing"
"github.com/hashicorp/go-plugin" "github.com/hashicorp/go-plugin"
"github.com/hashicorp/terraform/internal/legacy/terraform" "github.com/hashicorp/terraform/terraform"
) )
func TestUIOutput_impl(t *testing.T) { func TestUIOutput_impl(t *testing.T) {