Merge pull request #10203 from queeno/dashboard_provisioner_id_validation

Avoid ID validation before provisioning dashboards
This commit is contained in:
Carl Bergquist
2017-12-14 15:43:07 +01:00
committed by GitHub
@@ -121,6 +121,9 @@ func (fr *fileReader) walkFolder() error {
return nil
}
// id = 0 indicates ID validation should be avoided before writing to the db.
dash.Dashboard.Id = 0
cmd := &models.GetDashboardQuery{Slug: dash.Dashboard.Slug}
err = bus.Dispatch(cmd)