Comment 3 for bug 1399241

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/5311
Committed: http://github.org/Juniper/contrail-controller/commit/ad84c274b10f181e831499caf788d7d13b217576
Submitter: Zuul
Branch: R1.10

commit ad84c274b10f181e831499caf788d7d13b217576
Author: Numan Siddique <email address hidden>
Date: Fri Dec 5 16:08:38 2014 +0530

Delete the lb configuration files during cleanup

The issue is seen because boost::filesystem::remove
is used to delete the lb pool configuration directory.
Since the directory is not empty, it is failing.

This patch fixes the issue by calling
boost::filesystem::remove_all instead of delete
the files if the directory is not empty.

Change-Id: I0b22c985aacee9173f1537f029fdc51c6db0324b
Closes-bug: #1399241