Skip to content

Commit

Permalink
Quick fix composition tests
Browse files Browse the repository at this point in the history
Change-Id: I0f95e70c81be0ec47b7e9d8f0e3f65d980988cd1
  • Loading branch information
LarsMichelsen committed Oct 25, 2023
1 parent ca7f83e commit 51f6dde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmk/gui/visuals/_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ def _write_to_cache(self, visuals: CustomUserVisuals) -> None:


hooks.register_builtin("snapshot-pushed", _CombinedVisualsCache.invalidate_all_caches)
hooks.register_builtin("snapshot-pushed", store.clear_pickled_files_cache)
hooks.register_builtin(
"snapshot-pushed", lambda: store.clear_pickled_files_cache(cmk.utils.paths.tmp_dir)
)
hooks.register_builtin("users-saved", lambda x: _CombinedVisualsCache.invalidate_all_caches())


Expand Down

0 comments on commit 51f6dde

Please sign in to comment.