Provisioning: fix for cannot save provisioned dashboard (#20218)

Provisioning of dashboards now always overwrite existing ones and does not look at the configuration `allowUiUpdates` anymore
This commit is contained in:
Jon Gyllenswärd
2019-11-07 10:49:24 +01:00
committed by GitHub
parent 8484b43001
commit b489c75aaf
5 changed files with 7 additions and 7 deletions
@@ -190,7 +190,7 @@ func (fr *fileReader) saveDashboard(path string, folderId int64, fileInfo os.Fil
CheckSum: jsonFile.checkSum,
}
_, err = fr.dashboardProvisioningService.SaveProvisionedDashboard(dash, dp, fr.Cfg.AllowUiUpdates)
_, err = fr.dashboardProvisioningService.SaveProvisionedDashboard(dash, dp)
return provisioningMetadata, err
}