From 7c62f88c92195fcb54d91b9a83362b6f6196ecfc Mon Sep 17 00:00:00 2001 From: Hemanth Nakkina Date: Fri, 13 Dec 2024 15:58:44 +0530 Subject: [PATCH] Use update_deployment to update deployments --- sunbeam-python/sunbeam/provider/local/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunbeam-python/sunbeam/provider/local/commands.py b/sunbeam-python/sunbeam/provider/local/commands.py index 498e8cc8..b18091a0 100644 --- a/sunbeam-python/sunbeam/provider/local/commands.py +++ b/sunbeam-python/sunbeam/provider/local/commands.py @@ -710,7 +710,7 @@ def bootstrap( # Reload deployment with sunbeam-controller {fqdn} user credentials deployment.reload_credentials() - deployments.write() + deployments.update_deployment(deployment) deployment.reload_tfhelpers() jhelper = JujuHelper(deployment.get_connected_controller())