Commit e57f523f authored by Razvan Becheriu's avatar Razvan Becheriu

[#1040] reverted some changes

parent d970a4c9
......@@ -835,7 +835,8 @@ CqlLease4Exchange::getExpiredLeases(const size_t &max_leases,
// Retrieve leases from the database.
Lease4Collection temp_collection;
getLeaseCollection(CqlLease4Exchange::GET_LEASE4_EXPIRE, data, temp_collection);
getLeaseCollection(CqlLease4Exchange::GET_LEASE4_EXPIRE, data,
temp_collection);
for (Lease4Ptr &lease : temp_collection) {
expired_leases.push_back(lease);
......@@ -1672,7 +1673,8 @@ CqlLease6Exchange::getExpiredLeases(const size_t &max_leases,
// Retrieve leases from the database.
Lease6Collection temp_collection;
getLeaseCollection(CqlLease6Exchange::GET_LEASE6_EXPIRE, data, temp_collection);
getLeaseCollection(CqlLease6Exchange::GET_LEASE6_EXPIRE, data,
temp_collection);
for (Lease6Ptr &lease : temp_collection) {
expired_leases.push_back(lease);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment