From 842c07a19953d7fd29ddf7c73cc99b99226ecc32 Mon Sep 17 00:00:00 2001 From: Kian Parvin <46668016+kian99@users.noreply.github.com> Date: Mon, 10 Jul 2023 13:14:26 +0200 Subject: [PATCH] Fix for dashboard file (#993) --- 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)