Skip to content

Commit 081240b

Browse files
authored
Fix BasicCCDBManager::isCacheValid(ts) method (#15223)
1 parent 85d4143 commit 081240b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CCDB/include/CCDB/BasicCCDBManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ class CCDBManagerInstance
6464
bool isValid(long ts) { return ts < endvalidity && ts >= startvalidity; }
6565
bool isCacheValid(long ts)
6666
{
67-
LOGP(debug, "isCacheValid : {} : {} : {} --> {}", cacheValidFrom, ts, cacheValidUntil, ts < cacheValidUntil && ts >= cacheValidFrom);
68-
return ts < cacheValidUntil && ts >= cacheValidFrom;
67+
LOGP(debug, "isCacheValid : {} : {} : {} --> {}", cacheValidFrom, ts, cacheValidUntil, isValid(ts));
68+
return ts < cacheValidUntil && isValid(ts);
6969
}
7070
void clear()
7171
{

0 commit comments

Comments
 (0)