1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

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

This commit is contained in:
cmeng 2023-08-03 17:21:01 +12:00 committed by GitHub
parent d7e83aad26
commit 9845518aa9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
} }