Skip to content

Commit

Permalink
Add capabilities and worker_metadata in env reload response. (#90)
Browse files Browse the repository at this point in the history
* Add capabilities and worker_metadata in env reload response.

* reordered the properties for better readability.

* comments were associated with incorrect props. fixed.
  • Loading branch information
kshyju authored Dec 21, 2022
1 parent a86db18 commit 90ed69f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/proto/FunctionRpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@ message FunctionEnvironmentReloadRequest {
}

message FunctionEnvironmentReloadResponse {
// After specialization, worker sends capabilities & metadata.
// Worker metadata captured for telemetry purposes
WorkerMetadata worker_metadata = 1;

// A map of worker supported features/capabilities
map<string, string> capabilities = 2;

// Status of the response
StatusResult result = 3;
}
Expand Down

0 comments on commit 90ed69f

Please sign in to comment.