Commit f93d83be by bergquist

adds missing return statement

parent 9db964bf
...@@ -89,7 +89,7 @@ func (ss *SqlStore) ensureAdminUser() error { ...@@ -89,7 +89,7 @@ func (ss *SqlStore) ensureAdminUser() error {
systemUserCountQuery := m.GetSystemUserCountStatsQuery{} systemUserCountQuery := m.GetSystemUserCountStatsQuery{}
if err := bus.Dispatch(&systemUserCountQuery); err != nil { 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 { if systemUserCountQuery.Result.Count > 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment