From 04a46fbc465d5c36ee3f147ea2a985fb89904944 Mon Sep 17 00:00:00 2001 From: Seokho Son Date: Mon, 7 Nov 2022 19:29:27 +0900 Subject: [PATCH] Hotfix for runtime err in monitoring agent --- src/core/mcis/monitoring.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/mcis/monitoring.go b/src/core/mcis/monitoring.go index 841efec83..498f1e54e 100644 --- a/src/core/mcis/monitoring.go +++ b/src/core/mcis/monitoring.go @@ -265,7 +265,6 @@ func CallMonitoringAsync(wg *sync.WaitGroup, nsID string, mcisID string, mcisSer result = string(body) } - defer res.Body.Close() //wg.Done() //goroutin sync done