mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Adding an import needed for the tests
This will likely be a temp fix until `make updated eps` is made a
little smarter by @phinze 😉
This commit is contained in:
parent
a1a1ea5cf9
commit
7f408cf8aa
@ -13,6 +13,9 @@ import (
|
|||||||
"github.com/hashicorp/terraform/terraform"
|
"github.com/hashicorp/terraform/terraform"
|
||||||
"github.com/masterzen/winrm/winrm"
|
"github.com/masterzen/winrm/winrm"
|
||||||
"github.com/packer-community/winrmcp/winrmcp"
|
"github.com/packer-community/winrmcp/winrmcp"
|
||||||
|
|
||||||
|
// This import is a bit strange, but it's needed so `make updatedeps` can see and
|
||||||
|
_ "github.com/dylanmei/winrmtest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Communicator represents the WinRM communicator
|
// Communicator represents the WinRM communicator
|
||||||
@ -23,7 +26,6 @@ type Communicator struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// New creates a new communicator implementation over WinRM.
|
// New creates a new communicator implementation over WinRM.
|
||||||
//func New(endpoint *winrm.Endpoint, user string, password string, timeout time.Duration) (*communicator, error) {
|
|
||||||
func New(s *terraform.InstanceState) (*Communicator, error) {
|
func New(s *terraform.InstanceState) (*Communicator, error) {
|
||||||
connInfo, err := parseConnectionInfo(s)
|
connInfo, err := parseConnectionInfo(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user