mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-24 10:21:20 -05:00
Updated winrm and winrmcp dependencies. Relevant unit and acceptance tests passed successfully. shell.Execute didn't return a Command object. Seef1bcf36a69/winrmcp/cp.go (L167)and54ea5d0147/winrm/shell.go (L10-L22)respectively. Closes #3763 Original patch by: Philipp Kosel <philipp.kosel@gmail.com>
13 lines
226 B
Go
13 lines
226 B
Go
package winrm
|
|
|
|
import "fmt"
|
|
|
|
// errWinrm generic error struct
|
|
type errWinrm struct {
|
|
message string
|
|
}
|
|
|
|
// ErrWinrm implements the Error type interface
|
|
func (e errWinrm) Error() string {
|
|
return fmt.Sprintf("%s", e.message)
|
|
}
|