From 631851f7e1fb04d7543c57e855366c1f3d137249 Mon Sep 17 00:00:00 2001 From: Mohamed Rashd Date: Tue, 19 Apr 2022 17:19:10 +0530 Subject: [PATCH] Fix using wrong method name --- .../analytics/mgt/grafana/proxy/core/util/GrafanaUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/analytics-mgt/grafana-mgt/io.entgra.analytics.mgt.grafana.proxy.core/src/main/java/io/entgra/analytics/mgt/grafana/proxy/core/util/GrafanaUtil.java b/components/analytics-mgt/grafana-mgt/io.entgra.analytics.mgt.grafana.proxy.core/src/main/java/io/entgra/analytics/mgt/grafana/proxy/core/util/GrafanaUtil.java index 40117cee60..c533e3461b 100644 --- a/components/analytics-mgt/grafana-mgt/io.entgra.analytics.mgt.grafana.proxy.core/src/main/java/io/entgra/analytics/mgt/grafana/proxy/core/util/GrafanaUtil.java +++ b/components/analytics-mgt/grafana-mgt/io.entgra.analytics.mgt.grafana.proxy.core/src/main/java/io/entgra/analytics/mgt/grafana/proxy/core/util/GrafanaUtil.java @@ -85,7 +85,7 @@ public class GrafanaUtil { } public static String getDashboardUID(URI iframeURL) { - return HttpUtil.getRequestSubPathFromEnd(iframeURL, GrafanaConstants.IFRAME_URL_DASHBOARD_UID_INDEX); + return HttpUtil.extractRequestSubPathFromEnd(iframeURL, GrafanaConstants.IFRAME_URL_DASHBOARD_UID_INDEX); } public static JsonObject getJsonBody(String body) {