mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
UpdateApplication now takes a STARTED application's maximumCapacity and custom images (imageConfiguration, workerTypeSpecifications), as the User Guide's "Updating Running Applications" describes: "You can update key application configurations such as maximum capacity, and custom image settings - without stopping and restarting the application." Every other setting still needs a CREATED or STOPPED application, as the API reference's "An application has to be in a stopped or created state in order to be updated" says, and an image change on an application with initial capacity is refused: "Custom image updates on running applications are not supported on applications with pre-initialized capacity configured." A run already going keeps the image and maximum capacity it was launched with, and a new run, or a new attempt of one, takes the application's current ones, as each run already reads them when it is launched.