From 7f408cf8aaa0769cf5954527b547122a7ec1fc5d Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Fri, 1 May 2015 22:26:11 +0200 Subject: [PATCH] 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 :wink: --- communicator/winrm/communicator.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/communicator/winrm/communicator.go b/communicator/winrm/communicator.go index 3080acdd44..a4881153a9 100644 --- a/communicator/winrm/communicator.go +++ b/communicator/winrm/communicator.go @@ -13,6 +13,9 @@ import ( "github.com/hashicorp/terraform/terraform" "github.com/masterzen/winrm/winrm" "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 @@ -23,7 +26,6 @@ type Communicator struct { } // 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) { connInfo, err := parseConnectionInfo(s) if err != nil {