Skip to content

Commit

Permalink
Prefix space path with /
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Oct 1, 2018
1 parent 5dc34d2 commit a4d4d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/cmd/dashboards/export_dashboards.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a4d4d84

Please sign in to comment.