From ae0087ad92aa29e321448246e43b20af24db009f Mon Sep 17 00:00:00 2001 From: Kian Parvin Date: Mon, 10 Jul 2023 10:48:32 +0200 Subject: [PATCH] Fix for dashboard file --- charms/jimm-k8s/src/charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charms/jimm-k8s/src/charm.py b/charms/jimm-k8s/src/charm.py index 15db7731f..ad821323f 100755 --- a/charms/jimm-k8s/src/charm.py +++ b/charms/jimm-k8s/src/charm.py @@ -436,7 +436,7 @@ def _install_dashboard(self, event): # remove the existing dashboard from the workload/ if container.exists(self._dashboard_path): - container.remove_path(self._dashboard_path) + container.remove_path(self._dashboard_path, recursive=True) container.make_dir(self._dashboard_path, make_parents=True)