Comment 2 for bug 1399241

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

Reviewed: https://review.opencontrail.org/5279
Committed: http://github.org/Juniper/contrail-controller/commit/b0f8f5a3f5103d21735b7d80ce42986de8d7cbc4
Submitter: Zuul
Branch: master

commit b0f8f5a3f5103d21735b7d80ce42986de8d7cbc4
Author: Numan Siddique <email address hidden>
Date: Thu Dec 4 20:21:05 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: I48ced8fc1ef86063127ff50d42a40592082d27cb
Closes-bug: #1399241