From 180208c99132a0905fc127943a72ce6d53c20751 Mon Sep 17 00:00:00 2001 From: Anurag Rajawat Date: Sun, 14 Apr 2024 21:44:01 +0530 Subject: [PATCH] fix(core): Fix Panic due to interface conversion Signed-off-by: Anurag Rajawat --- sentryflow/core/k8sHandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentryflow/core/k8sHandler.go b/sentryflow/core/k8sHandler.go index 879d9fd..58ab5fa 100644 --- a/sentryflow/core/k8sHandler.go +++ b/sentryflow/core/k8sHandler.go @@ -414,7 +414,7 @@ func (kh *K8sHandler) PatchIstioConfigMap() error { // Append eps to the existing slice if !duplicate { - meshConfig["extensionProviders"] = append(ep.([]map[interface{}]interface{}), eps) + meshConfig["extensionProviders"] = append(ep.([]interface{}), eps) } }