From 788b0ec91305e9475a84667544f2f875c8357885 Mon Sep 17 00:00:00 2001 From: Tedi Mitiku Date: Thu, 7 Nov 2024 10:44:43 -0800 Subject: [PATCH] remove uncommented func --- .../persistent_volume_logs_database_client.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/engine/server/engine/centralized_logs/client_implementations/persistent_volume/persistent_volume_logs_database_client.go b/engine/server/engine/centralized_logs/client_implementations/persistent_volume/persistent_volume_logs_database_client.go index 6b29e15ccd..16497b53c5 100644 --- a/engine/server/engine/centralized_logs/client_implementations/persistent_volume/persistent_volume_logs_database_client.go +++ b/engine/server/engine/centralized_logs/client_implementations/persistent_volume/persistent_volume_logs_database_client.go @@ -173,12 +173,3 @@ func (client *persistentVolumeLogsDatabaseClient) streamServiceLogLines( shouldReturnAllLogs, numLogLines) } - -//func closeChannelWhenEmpty(logsChan chan map[service.ServiceUUID][]logline.LogLine) { -// for { -// if len(logsChan) == 0 { -// close(logsChan) -// return -// } -// } -//}