fmt
This commit is contained in:
parent
bdac2a87ef
commit
e52f8e0486
|
@ -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…
Reference in New Issue