From 793eda764080572bcd1d3e48f4c92d4b38cb2177 Mon Sep 17 00:00:00 2001 From: Jason Wilder Date: Wed, 11 Feb 2015 15:17:40 -0700 Subject: [PATCH] Assign new dashboard ID when importing dashboard via command-line --- pkg/cmd/import.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/import.go b/pkg/cmd/import.go index 1c3545904a2..aeea8cb17ed 100644 --- a/pkg/cmd/import.go +++ b/pkg/cmd/import.go @@ -106,6 +106,7 @@ func importDashboard(path string, accountId int64) error { if err := jsonParser.Decode(&dash.Data); err != nil { return err } + dash.Data["id"] = nil cmd := m.SaveDashboardCommand{ AccountId: accountId,