]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Don't call have_cache() in reuse_cache() 3446/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 28 Jan 2025 19:47:30 +0000 (20:47 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Jan 2025 09:56:25 +0000 (10:56 +0100)
commitdaa20ddeedec4aae4adf663613822051c9fedc62
tree2aba6bd639be20b6a51deafd31ddc2017ceb263b
parentb0265d7589236140005fe171173d0e71d825f7bd
Don't call have_cache() in reuse_cache()

By the time reuse_cache() is called, we've already cleaned up old
cached images if needed, so just check if they still exist and reuse
them if they do.
mkosi/__init__.py