1
0
mirror of https://github.com/netbirdio/netbird.git synced 2025-07-14 05:15:08 +02:00

Prevent building test code for client ()

This will reduce the client binary size in almost 25%
This commit is contained in:
Maycon Santos
2024-06-13 11:38:38 +02:00
committed by GitHub
parent f68d5e965f
commit f51cae7103

@ -108,7 +108,7 @@ func startManagement(t *testing.T, config *mgmt.Config) (*grpc.Server, net.Liste
}
func startClientDaemon(
t *testing.T, ctx context.Context, managementURL, configPath string,
t *testing.T, ctx context.Context, _, configPath string,
) (*grpc.Server, net.Listener) {
t.Helper()
lis, err := net.Listen("tcp", "127.0.0.1:0")