Commit 793eda76 by Jason Wilder

Assign new dashboard ID when importing dashboard via command-line

parent 82302799
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment