Merge pull request #27088 from hashicorp/jbardin/un-legacy

don't use legacy import for the terraform.UIInput interface
This commit is contained in:
James Bardin 2020-12-02 15:58:40 -05:00 committed by GitHub
commit b0ce552c90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {