|
23 | 23 | #include <TError.h> |
24 | 24 | #include <TMemFile.h> |
25 | 25 | #include <functional> |
26 | | -#include <boost/algorithm/string/predicate.hpp> |
27 | 26 |
|
28 | 27 | namespace o2::framework |
29 | 28 | { |
@@ -213,23 +212,8 @@ auto populateCacheWith(std::shared_ptr<CCDBFetcherHelper> const& helper, |
213 | 212 | continue; |
214 | 213 | } |
215 | 214 | // printing in case we find a default entry |
216 | | - // we allow "default", "Default", "DEFAULT", |
217 | | - // and they can be equal to a case-insensitive "true" or "1" |
218 | | - auto defMetaData = headers.find("default"); |
219 | | - auto defMetaDataInCap = headers.find("Default"); |
220 | | - auto defMetaDataCap = headers.find("DEFAULT"); |
221 | | - if (defMetaData != headers.end()) { |
222 | | - if (boost::iequals((*defMetaData).second, "true") || (*defMetaData).second == "1") { |
223 | | - LOGP(info, "******** Default entry used for {} ********", path); |
224 | | - } |
225 | | - } else if (defMetaDataInCap != headers.end()) { |
226 | | - if (boost::iequals((*defMetaDataInCap).second, "true") || (*defMetaDataInCap).second == "1") { |
227 | | - LOGP(info, "******** Default entry used for {} ********", path); |
228 | | - } |
229 | | - } else if (defMetaDataCap != headers.end()) { |
230 | | - if (boost::iequals((*defMetaDataCap).second, "true") || (*defMetaDataCap).second == "1") { |
231 | | - LOGP(info, "******** Default entry used for {} ********", path); |
232 | | - } |
| 215 | + if (headers.find("default") != headers.end()) { |
| 216 | + LOGP(detail, "******** Default entry used for {} ********", path); |
233 | 217 | } |
234 | 218 | if (etag.empty()) { |
235 | 219 | helper->mapURL2UUID[path] = headers["ETag"]; // update uuid |
|
0 commit comments