utils: remove bogus cache not found error after refresh command

Remove log message "Cannot find device path to cache" spamming
logs during operations such as refresh in clients without CACHE
partition.
master
Alejandro Sirgo Rica 2024-06-06 17:03:27 +02:00
parent 5698aa66d2
commit ec132cfb95
1 changed files with 0 additions and 1 deletions

View File

@ -142,7 +142,6 @@ def get_cache_dev_path():
proc_blkid = subprocess.run(['blkid', '-L', 'CACHE'],
stdout=subprocess.PIPE)
if proc_blkid.returncode != 0:
logging.error('Cannot find device path to cache')
return ''
return proc_blkid.stdout.decode().strip()