Skip to content

Commit

Permalink
add --python when publishing
Browse files Browse the repository at this point in the history
avoids this error: 

Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom]
Your Azure Function App has 'FUNCTIONS_WORKER_RUNTIME' set to 'python' while your local project is set to 'None'.
You can pass --force to update your Azure app with 'None' as a 'FUNCTIONS_WORKER_RUNTIME'
  • Loading branch information
danstadler-LW authored Apr 6, 2022
1 parent 9663ca4 commit 861340b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure_loganalytics_sentinel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function-app-name = "function-app-functacclc7f"

Now execute the Function App Code Review
```
cd ../azure_function && func azure functionapp publish function-app-functacclc7f
cd ../azure_function && func azure functionapp publish function-app-functacclc7f --python
```

Copy the webhook URL
Expand All @@ -56,4 +56,4 @@ You'll have to create a webhook using the previous URL, and also an Alert Rule t
If the table name is LaceworkEvents, log analytics will show it as a custom log field, so the queries must be done against the LaceworkEvents_CL
```
LaceworkEvents_CL
```
```

1 comment on commit 861340b

@danstadler-LW
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change is on line 42. The change on 59 came from editing the file directly in the Github UI, you can ignore that one.

Please sign in to comment.