Skip to content

Commit 382c2f9

Browse files
lpcoxCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b508069 commit 382c2f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/network-allocator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export async function getExistingDockerSubnets(): Promise<string[]> {
3535
/**
3636
* Generates a random subnet in Docker's private IP range that doesn't conflict with existing networks
3737
* Uses 172.16-31.x.0/24 range (Docker's default bridge network range)
38+
* @internal
3839
*/
39-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
40-
export async function _generateRandomSubnet(): Promise<{ subnet: string; squidIp: string; agentIp: string }> {
40+
export async function generateRandomSubnet(): Promise<{ subnet: string; squidIp: string; agentIp: string }> {
4141
const existingSubnets = await getExistingDockerSubnets();
4242
const MAX_RETRIES = 50;
4343

0 commit comments

Comments
 (0)