Skip to content

Commit

Permalink
Fix proto definition code style. (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
jankaspar authored Feb 23, 2021
1 parent 95dc527 commit 400cfbe
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 140 deletions.
168 changes: 84 additions & 84 deletions pkg/api/queue.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkg/api/queue.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ message Job {
}

message LeaseRequest {
string ClusterId = 1;
string Pool = 8;
string cluster_id = 1;
string pool = 8;
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> resources = 2 [(gogoproto.nullable) = false];
ClusterLeasedReport cluster_leased_report = 4 [(gogoproto.nullable) = false];
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> minimum_job_size = 6 [(gogoproto.nullable) = false];
Expand All @@ -52,7 +52,7 @@ message NodeType {
// Used to store last info in Redis
message ClusterSchedulingInfoReport {
string cluster_id = 1;
string Pool = 7;
string pool = 7;
google.protobuf.Timestamp report_time = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
repeated NodeType node_types = 5;
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> minimum_job_size = 6 [(gogoproto.nullable) = false];
Expand Down
Loading

0 comments on commit 400cfbe

Please sign in to comment.