Skip to content

Commit

Permalink
Merge pull request #920 from hardys/router_destroy_revert
Browse files Browse the repository at this point in the history
Revert "OpenStack Destroy, tolerate temporary router delete failure"
  • Loading branch information
openshift-merge-robot authored Dec 15, 2018
2 parents 67b8bbb + c74de37 commit 0f9cbdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/destroy/openstack/openstack_deprovision.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ func deleteRouters(opts *clientconfig.ClientOpts, filter Filter, logger logrus.F
logger.Debugf("Deleting Router: %+v\n", router.ID)
err = routers.Delete(conn, router.ID).ExtractErr()
if err != nil {
// This can fail when port is still in use
return false, nil
logger.Fatalf("%v", err)
os.Exit(1)
}
}
return len(allRouters) == 0, nil
Expand Down

0 comments on commit 0f9cbdf

Please sign in to comment.