File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,29 +12,29 @@ import (
1212
1313// Mock client that simply consumes fetched IPs
1414type TestConsumer struct {
15- consumeCount int32
16- secondaryIPCount int32
15+ consumeCount int
16+ secondaryIPCount int
1717}
1818
1919// FetchConsumeCount atomically fetches the consume count
20- func (c * TestConsumer ) FetchConsumeCount () int32 {
20+ func (c * TestConsumer ) FetchConsumeCount () int {
2121 return c .consumeCount
2222}
2323
2424// FetchSecondaryIPCount atomically fetches the last IP count
25- func (c * TestConsumer ) FetchSecondaryIPCount () int32 {
25+ func (c * TestConsumer ) FetchSecondaryIPCount () int {
2626 return c .consumeCount
2727}
2828
2929// UpdateConsumeCount atomically updates the consume count
30- func (c * TestConsumer ) updateCounts (ipCount int32 ) {
30+ func (c * TestConsumer ) updateCounts (ipCount int ) {
3131 c .consumeCount ++
3232 c .secondaryIPCount = ipCount
3333}
3434
3535// Mock IP update
3636func (c * TestConsumer ) UpdateIPsForNodeSubnet (ips []netip.Addr ) error {
37- c .updateCounts (int32 ( len (ips ) ))
37+ c .updateCounts (len (ips ))
3838 return nil
3939}
4040
You can’t perform that action at this time.
0 commit comments