When deploying faas having UI slots, I've run into an error.
I use dlp deploy command to deploy faas. Package information is defined in json file. It appears packages push function doesn't convert parsed json slot definition into PackageSlot object, while _validate_slots function expects PackageSlot. This PR fixes the deployment for me.
When deploying faas having UI slots, I've run into an error. I use
dlp deploy
command to deploy faas. Package information is defined in json file. It appears packagespush
function doesn't convert parsed json slot definition intoPackageSlot
object, while_validate_slots
function expectsPackageSlot
. This PR fixes the deployment for me.