Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignores 'disabled' flag in functions.json #1358

Closed
fiveisprime opened this issue Jun 26, 2019 · 1 comment
Closed

Ignores 'disabled' flag in functions.json #1358

fiveisprime opened this issue Jun 26, 2019 · 1 comment

Comments

@fiveisprime
Copy link
Member

Taken from microsoft/vscode-node-azure-pack#8

When debugging/executing in local environment, the disabled flag value in functions.json is ignored: All functions are started regardless of if they're disabled or not.

@ejizba
Copy link
Member

ejizba commented Jul 22, 2019

The disabled flag was only used in v1. You have to set an app setting like this if you want to disable a function in v2:

AzureWebJobs.<function name>.Disabled

See https://docs.microsoft.com/en-us/azure/azure-functions/disable-function

@ejizba ejizba closed this as completed Jul 22, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants