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
commit 45eda16a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)