fmt
This commit is contained in:
parent
c88f75b234
commit
0211c033f4
@ -40,8 +40,8 @@ func (s *stepShutdown) Run(state map[string]interface{}) multistep.StepAction {
|
|||||||
var stdout, stderr bytes.Buffer
|
var stdout, stderr bytes.Buffer
|
||||||
cmd := &packer.RemoteCmd{
|
cmd := &packer.RemoteCmd{
|
||||||
Command: config.ShutdownCommand,
|
Command: config.ShutdownCommand,
|
||||||
Stdout: &stdout,
|
Stdout: &stdout,
|
||||||
Stderr: &stderr,
|
Stderr: &stderr,
|
||||||
}
|
}
|
||||||
if err := comm.Start(cmd); err != nil {
|
if err := comm.Start(cmd); err != nil {
|
||||||
err := fmt.Errorf("Failed to send shutdown command: %s", err)
|
err := fmt.Errorf("Failed to send shutdown command: %s", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user