mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 08:31:53 -05:00
DeleteFunction with a Qualifier refused a version only when an alias named it as its FunctionVersion, so the second version of a weighted alias, listed in its RoutingConfig's AdditionalVersionWeights, could be deleted from under it. A version an alias references either way now answers ResourceConflictException (409), as the API reference says a version an alias references can't be deleted, and deleting it succeeds once the alias no longer routes to it. Co-authored-by: Andre Kurait <AndreKurait@gmail.com>