Skip to content

Upgrade golangci-lint, more linters

Codecov / codecov/patch failed Jan 11, 2025 in 0s

69.80% of diff hit (target 70.00%)

View this Pull Request on Codecov

69.80% of diff hit (target 70.00%)

Annotations

Check warning on line 186 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L186

Added line #L186 was not covered by tests

Check warning on line 545 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L545

Added line #L545 was not covered by tests

Check warning on line 570 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L570

Added line #L570 was not covered by tests

Check warning on line 595 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L595

Added line #L595 was not covered by tests

Check warning on line 627 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L627

Added line #L627 was not covered by tests

Check warning on line 639 in client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client.go#L639

Added line #L639 was not covered by tests

Check warning on line 271 in internal/allocation/allocation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/allocation/allocation.go#L271

Added line #L271 was not covered by tests

Check warning on line 286 in internal/allocation/allocation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/allocation/allocation.go#L286

Added line #L286 was not covered by tests

Check warning on line 73 in internal/allocation/allocation_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/allocation/allocation_manager.go#L73

Added line #L73 was not covered by tests

Check warning on line 165 in internal/allocation/allocation_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/allocation/allocation_manager.go#L165

Added line #L165 was not covered by tests

Check warning on line 97 in internal/client/allocation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/allocation.go#L97

Added line #L97 was not covered by tests

Check warning on line 115 in internal/client/allocation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/allocation.go#L115

Added line #L115 was not covered by tests

Check warning on line 123 in internal/client/allocation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/allocation.go#L123

Added line #L123 was not covered by tests

Check warning on line 131 in internal/client/allocation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/allocation.go#L131

Added line #L131 was not covered by tests

Check warning on line 135 in internal/client/allocation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/allocation.go#L135

Added line #L135 was not covered by tests

Check warning on line 241 in internal/client/udp_conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/udp_conn.go#L241

Added line #L241 was not covered by tests

Check warning on line 243 in internal/client/udp_conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/udp_conn.go#L243

Added line #L243 was not covered by tests

Check warning on line 246 in internal/client/udp_conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/udp_conn.go#L246

Added line #L246 was not covered by tests

Check warning on line 250 in internal/client/udp_conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/udp_conn.go#L249-L250

Added lines #L249 - L250 were not covered by tests

Check warning on line 318 in internal/client/udp_conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/udp_conn.go#L318

Added line #L318 was not covered by tests

Check warning on line 382 in internal/client/udp_conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/client/udp_conn.go#L382

Added line #L382 was not covered by tests

Check warning on line 56 in internal/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/server.go#L56

Added line #L56 was not covered by tests

Check warning on line 67 in internal/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/server.go#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 80 in internal/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/server.go#L72-L80

Added lines #L72 - L80 were not covered by tests

Check warning on line 65 in internal/server/turn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/turn.go#L58-L65

Added lines #L58 - L65 were not covered by tests