Skip to content

fix: the statistics of ippool's status.AllocatedIPCount are inaccurate

Codecov / codecov/patch failed Aug 23, 2024 in 0s

0.00% of diff hit (target 60.00%)

View this Pull Request on Codecov

0.00% of diff hit (target 60.00%)

Annotations

Check warning on line 403 in pkg/ippoolmanager/ippool_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ippoolmanager/ippool_manager.go#L402-L403

Added lines #L402 - L403 were not covered by tests

Check warning on line 407 in pkg/ippoolmanager/ippool_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ippoolmanager/ippool_manager.go#L405-L407

Added lines #L405 - L407 were not covered by tests

Check warning on line 415 in pkg/ippoolmanager/ippool_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ippoolmanager/ippool_manager.go#L410-L415

Added lines #L410 - L415 were not covered by tests

Check warning on line 417 in pkg/ippoolmanager/ippool_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ippoolmanager/ippool_manager.go#L417

Added line #L417 was not covered by tests

Check warning on line 420 in pkg/ippoolmanager/ippool_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ippoolmanager/ippool_manager.go#L420

Added line #L420 was not covered by tests