From 9845518aa9086e38b033566070c90fc7218a28ed Mon Sep 17 00:00:00 2001 From: cmeng Date: Thu, 3 Aug 2023 17:21:01 +1200 Subject: [PATCH] fix(edge-stack): unable to edit edge stack EE-5845 (#9981) --- api/http/handler/edgestacks/utils_update_stack_version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/handler/edgestacks/utils_update_stack_version.go b/api/http/handler/edgestacks/utils_update_stack_version.go index e34b4d449..79a947c49 100644 --- a/api/http/handler/edgestacks/utils_update_stack_version.go +++ b/api/http/handler/edgestacks/utils_update_stack_version.go @@ -50,7 +50,7 @@ func (handler *Handler) storeStackFile(stack *portainer.EdgeStack, deploymentTyp entryPoint = stack.ManifestPath } - _, err := handler.FileService.StoreEdgeStackFileFromBytesByVersion(stackFolder, entryPoint, stack.Version, config) + _, err := handler.FileService.StoreEdgeStackFileFromBytes(stackFolder, entryPoint, config) if err != nil { return fmt.Errorf("unable to persist updated Compose file with version on disk: %w", err) }