fix(edge-stack): unable to edit edge stack EE-5845 (#9981)

pull/9986/head
cmeng 1 year ago committed by GitHub
parent d7e83aad26
commit 9845518aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ func (handler *Handler) storeStackFile(stack *portainer.EdgeStack, deploymentTyp
entryPoint = stack.ManifestPath entryPoint = stack.ManifestPath
} }
_, err := handler.FileService.StoreEdgeStackFileFromBytesByVersion(stackFolder, entryPoint, stack.Version, config) _, err := handler.FileService.StoreEdgeStackFileFromBytes(stackFolder, entryPoint, config)
if err != nil { if err != nil {
return fmt.Errorf("unable to persist updated Compose file with version on disk: %w", err) return fmt.Errorf("unable to persist updated Compose file with version on disk: %w", err)
} }

Loading…
Cancel
Save