mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
adds missing return statement
This commit is contained in:
parent
9db964bf35
commit
f93d83befe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user