Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mpywell committed Oct 30, 2024
1 parent a1d970c commit 2d794d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/proxmox/common/step_finalize_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (s *stepFinalizeConfig) Run(ctx context.Context, state multistep.StateBag)
ui.Say("Hardware changes pending for VM, stopping VM")
_, err := client.ShutdownVm(vmRef)
if err != nil {
err := fmt.Errorf("Error converting VM to template, could not stop: %s", err)
err := fmt.Errorf("Error stopping VM: %s", err)
state.Put("error", err)
ui.Error(err.Error())
return multistep.ActionHalt
Expand Down

0 comments on commit 2d794d1

Please sign in to comment.