Skip to content

Commit

Permalink
Fix overwriting err
Browse files Browse the repository at this point in the history
#14424 podman start minikube returned with exit code 125
  • Loading branch information
criztovyl committed Jul 10, 2022
1 parent 6d3a105 commit 444f21f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/drivers/kic/kic.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,7 @@ func (d *Driver) Restart() error {
func (d *Driver) Start() error {
if err := oci.StartContainer(d.NodeConfig.OCIBinary, d.MachineName); err != nil {
oci.LogContainerDebug(d.OCIBinary, d.MachineName)
_, err := oci.DaemonInfo(d.OCIBinary)
if err != nil {
if _, err := oci.DaemonInfo(d.OCIBinary); err != nil {
return errors.Wrapf(oci.ErrDaemonInfo, "debug daemon info %q", d.MachineName)
}
return errors.Wrap(err, "start")
Expand Down

0 comments on commit 444f21f

Please sign in to comment.