From a4d4d8439b25f6531377c5079fc968d5b6f31879 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Tue, 28 Aug 2018 06:30:57 -0700 Subject: [PATCH] Prefix space path with / --- dev-tools/cmd/dashboards/export_dashboards.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/cmd/dashboards/export_dashboards.go b/dev-tools/cmd/dashboards/export_dashboards.go index a3f85dc0c18..421e006017d 100644 --- a/dev-tools/cmd/dashboards/export_dashboards.go +++ b/dev-tools/cmd/dashboards/export_dashboards.go @@ -55,7 +55,7 @@ func Export(client *http.Client, conn string, spaceID string, dashboard string, params.Add("dashboard", dashboard) if spaceID != "" { - exportAPI = path.Join("s", spaceID, exportAPI) + exportAPI = path.Join("/s", spaceID, exportAPI) } fullURL := makeURL(conn, exportAPI, params) if !quiet {