Skip to content

Commit

Permalink
Reflecting new protobuf changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vrdmr committed Nov 21, 2021
1 parent 92c37c9 commit 69c6ccc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions azure_functions_worker/dispatcher.py
Expand Up @@ -301,7 +301,7 @@ async def _handle__worker_status_request(self, req):

async def _handle__functions_metadata_request(self, req):
metadata_request = req.functions_metadata_request
directory = metadata_request.directory
directory = metadata_request.function_app_directory
indexed_functions = loader.index_function_app(directory)

x = []
Expand Down Expand Up @@ -331,8 +331,8 @@ async def _handle__functions_metadata_request(self, req):
return protos.StreamingMessage(
request_id=req.request_id,
function_metadata_responses=protos.FunctionMetadataResponses(
results=x,
overall_status=protos.StatusResult(
function_load_requests_results=x,
result=protos.StatusResult(
status=protos.StatusResult.Success)))

async def _handle__function_load_request(self, req):
Expand Down
2 changes: 1 addition & 1 deletion python/test/worker.config.json
Expand Up @@ -4,6 +4,6 @@
"extensions":[".py"],
"defaultExecutablePath":"python",
"defaultWorkerPath":"worker.py",
"workerIndexing": true
"workerIndexing": "true"
}
}

0 comments on commit 69c6ccc

Please sign in to comment.