On adding a staging slot in my function app, I see the error:
task hub name must be specified in host.json when using slots
I updated host.json as follows:
{
"version": "2.0",
"extensions": {
"durableTask": {
"hubName": "staging"
}
}
}
Should I specify 2 hub names - for production and staging slots?
How do I fix that?
AzureFunctionsJobHost__extensions__durableTask__hubName = "YOURTASKHUBNAME"
You have to use this key/value pair in configuration