Skip to content

Commit 79770d4

Browse files
committed
Rename rpcs
Signed-off-by: joshvanl <[email protected]>
1 parent 7f380da commit 79770d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

protos/backend_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ service BackendService {
7979
// Returns the current metrics for the backend service.
8080
rpc GetMetrics (GetMetricsRequest) returns (GetMetricsResponse);
8181

82-
rpc ListInstances (ListInstancesRequest) returns (ListInstancesResponse);
82+
rpc ListInstanceIDs (ListInstanceIDsRequest) returns (ListInstanceIDsResponse);
8383
rpc GetInstanceHistory (GetInstanceHistoryRequest) returns (GetInstanceHistoryResponse);
8484
}
8585

protos/orchestrator_service.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ service TaskHubSidecarService {
740740
// Rerun a Workflow from a specific event ID of a workflow instance.
741741
rpc RerunWorkflowFromEvent(RerunWorkflowFromEventRequest) returns (RerunWorkflowFromEventResponse);
742742

743-
rpc ListInstances (ListInstancesRequest) returns (ListInstancesResponse);
743+
rpc ListInstanceIDs (ListInstanceIDsRequest) returns (ListInstanceIDsResponse);
744744
rpc GetInstanceHistory (GetInstanceHistoryRequest) returns (GetInstanceHistoryResponse);
745745
}
746746

@@ -824,8 +824,8 @@ message RerunWorkflowFromEventResponse {
824824
string newInstanceID = 1;
825825
}
826826

827-
// ListInstancesRequest is used to list all orchestration instances.
828-
message ListInstancesRequest {
827+
// ListInstanceIDsRequest is used to list all orchestration instances.
828+
message ListInstanceIDsRequest {
829829
// continuationToken is the continuation token to use for pagination. This
830830
// is the index which the next page should start from. If not given, the first
831831
// page will be returned.
@@ -836,8 +836,8 @@ message ListInstancesRequest {
836836
optional uint32 pageSize = 2;
837837
}
838838

839-
// ListInstancesResponse is the response to executing ListInstances.
840-
message ListInstancesResponse {
839+
// ListInstanceIDsResponse is the response to executing ListInstanceIDs.
840+
message ListInstanceIDsResponse {
841841
// instanceIds is the list of instance IDs returned.
842842
repeated string instanceIds = 1;
843843
}

0 commit comments

Comments
 (0)