fix: go fmt to satisfy go linter

pull/19446/head
Stuart Carnie 2020-08-26 10:28:35 -07:00
parent 9163edb187
commit d20440a09f
No known key found for this signature in database
GPG Key ID: 848D9C9718D78B4F
2 changed files with 4 additions and 4 deletions

View File

@ -274,10 +274,10 @@ LOOP:
if err := e.StatementNormalizer.NormalizeStatement(ctx, stmt, defaultDB, opt.RetentionPolicy, ectx); err != nil {
if err := ectx.Send(ctx, &Result{Err: err}); err != nil {
return
}
break
return
}
break
}
statistics.StatementCount += 1

View File

@ -44,7 +44,7 @@ func (s *OnboardService) IsOnboarding(ctx context.Context) (bool, error) {
if s.alwaysAllow {
return true, nil
}
allowed := false
err := s.service.store.View(ctx, func(tx kv.Tx) error {
// we are allowed to onboard a user if we have no users or orgs