Merge branch 'master' into alerting_reminder
* master: (84 commits) docs: adds info about grafana-dev container changelog: add notes about closing #12282 Added Litre/min and milliLitre/min in Flow (#12282) remove papaparse dependency list name is deleteDatasources, not delete_datasources remove internal influx ifql datasource Document the endpoint for deleting an org tests: rewrite into table tests influxdb: adds mode func to backend changelog: add notes about closing #11484 changelog: add notes about closing #11233 Remove import Fix PR feedback Removed papaparse from external plugin exports Karma to Jest: query_builder dsproxy: move http client variable back Karma to Jest: threshold_mapper Expose react and slate to external plugins Karma to Jest: threshold_manager Karma to Jest: query_def, index_pattern ...
This commit is contained in:
@@ -89,7 +89,7 @@ func (ss *SqlStore) ensureAdminUser() error {
|
||||
systemUserCountQuery := m.GetSystemUserCountStatsQuery{}
|
||||
|
||||
if err := bus.Dispatch(&systemUserCountQuery); err != nil {
|
||||
fmt.Errorf("Could not determine if admin user exists: %v", err)
|
||||
return fmt.Errorf("Could not determine if admin user exists: %v", err)
|
||||
}
|
||||
|
||||
if systemUserCountQuery.Result.Count > 0 {
|
||||
|
||||
Reference in New Issue
Block a user