Ensure passthrough and keep_cache are mutually exclusive (#1493)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled

This commit is contained in:
trapexit 2025-07-06 18:31:47 -05:00 • committed by GitHub
parent f852474073
commit fa851eda3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -262,8 +262,8 @@ _postprocess_passthrough(Config::Write &cfg_)
if(cfg_->cache_files == CacheFiles::ENUM::OFF)
{
SysLog::warning("'cache.files' can not be 'off' when using 'passthrough'."
" Setting 'cache.files=auto-full'");
cfg_->cache_files = CacheFiles::ENUM::AUTO_FULL;
" Setting 'cache.files=full'");
cfg_->cache_files = CacheFiles::ENUM::FULL;
}
if(cfg_->writeback_cache == true)