mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-22 07:51:39 -04:00
fmt
This commit is contained in:
@@ -40,8 +40,8 @@ func (s *stepShutdown) Run(state map[string]interface{}) multistep.StepAction {
|
||||
var stdout, stderr bytes.Buffer
|
||||
cmd := &packer.RemoteCmd{
|
||||
Command: config.ShutdownCommand,
|
||||
Stdout: &stdout,
|
||||
Stderr: &stderr,
|
||||
Stdout: &stdout,
|
||||
Stderr: &stderr,
|
||||
}
|
||||
if err := comm.Start(cmd); err != nil {
|
||||
err := fmt.Errorf("Failed to send shutdown command: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user