Skip to content

Commit 76bef86

Browse files
fra98adamjensenbot
authored andcommitted
perf: avoid passing IP to IPAcquire() gRPC func
1 parent c0bb8fe commit 76bef86

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

pkg/ipam/ipam.pb.go

Lines changed: 4 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/ipam/ipam.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ message ResponseResult {
1616
}
1717

1818
message IPAcquireRequest {
19-
string ip = 1;
20-
string cidr = 2;
19+
string cidr = 1;
2120
}
2221

2322
message IPAcquireResponse {

0 commit comments

Comments
 (0)