Skip to content

Conversation

@satvu
Copy link
Member

@satvu satvu commented Oct 14, 2021

Added changes to the FunctionMetadataResponses message to be more consistent with the design of other messages and to be more descriptive.

message FunctionMetadataResponses {
// list of function indexing responses
repeated FunctionLoadRequest results = 1;
repeated FunctionLoadRequest function_load_requests = 1;
Copy link
Member Author

Choose a reason for hiding this comment

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

i think this is the simplest description/name. It's clearer than "results" and there is no confusion on the meaning b/c almost all messages with a "result" field refer to the StatusResult.

Copy link
Member

Choose a reason for hiding this comment

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

function_load_requests_results to be more clear, to ensure this is the result of function load on language worker


// status of overall metadata request
StatusResult overall_status = 2;
StatusResult result = 2;
Copy link
Member Author

Choose a reason for hiding this comment

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

Consistency w/ other messages - StatusResult type is generally returned in "result".

Copy link
Member

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

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

added a minor comment

@satvu satvu merged commit bea42d7 into dev Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants