Merge pull request #27088 from hashicorp/jbardin/un-legacy
don't use legacy import for the terraform.UIInput interface
This commit is contained in:
commit
b0ce552c90
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue