Skip to content

Commit

Permalink
fix: Fixed proto file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak1799 committed Jan 6, 2025
1 parent c5a51ec commit 4a3fe93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ impl SuccessBasedDynamicRouting for SuccessRateCalculatorClient<Client> {
params: params.clone(),
labels_with_status,
config,
global_id: "".to_string(),
global_params: params,
global_labels_with_status,
});
Expand Down Expand Up @@ -205,7 +204,6 @@ impl SuccessBasedDynamicRouting for SuccessRateCalculatorClient<Client> {
entity_id: id,
entity_params: params.clone(),
entity_labels: labels,
global_id: "".to_string(),
global_params: params,
global_labels,
config,
Expand Down
10 changes: 4 additions & 6 deletions proto/success_rate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ message UpdateSuccessRateWindowRequest {
string id = 1;
string params = 2;
repeated LabelWithStatus labels_with_status = 3;
string global_id = 4;
UpdateSuccessRateWindowConfig config = 4;
string global_params = 5;
repeated LabelWithStatus global_labels_with_status = 6;
UpdateSuccessRateWindowConfig config = 7;
}

message LabelWithStatus {
Expand Down Expand Up @@ -83,10 +82,9 @@ message CalGlobalSuccessRateRequest {
string entity_id = 1;
string entity_params = 2;
repeated string entity_labels = 3;
string global_id = 4;
string global_params = 5;
repeated string global_labels = 6;
CalGlobalSuccessRateConfig config = 7;
string global_params = 4;
repeated string global_labels = 5;
CalGlobalSuccessRateConfig config = 6;
}

message CalGlobalSuccessRateConfig {
Expand Down

0 comments on commit 4a3fe93

Please sign in to comment.