code reformatted with gofmt
This commit is contained in:
parent
d7cb9baa43
commit
481be9da35
|
@ -217,7 +217,7 @@ func (c *Communicator) newCopyClient() (*winrmcp.Winrmcp, error) {
|
||||||
OperationTimeout: c.Timeout(),
|
OperationTimeout: c.Timeout(),
|
||||||
MaxOperationsPerShell: 15, // lowest common denominator
|
MaxOperationsPerShell: 15, // lowest common denominator
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.connInfo.NTLM == true {
|
if c.connInfo.NTLM == true {
|
||||||
config.TransportDecorator = func() winrm.Transporter { return &winrm.ClientNTLM{} }
|
config.TransportDecorator = func() winrm.Transporter { return &winrm.ClientNTLM{} }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue