Skip to content

Commit

Permalink
Remove unnecessary if
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelreiswildlife committed Sep 26, 2023
1 parent 1c49cea commit 8188a38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions leaderboard/enriching/enricher.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@ func (e *enricherImpl) enrichWithCloudSave(ctx context.Context, tenantID string,
zap.String("tenantID", tenantID),
)

if e.config.cloudSave.enabled[tenantID] {
e.logger.Debug(fmt.Sprintf("cloud save enrich enabled for tenant %s. Skipping enrichment.", tenantID))
return members, nil
}

if e.config.cloudSave.url == "" {
e.logger.Debug("cloud Save URL not configured. Skipping enrichment.")
return members, nil
Expand Down

0 comments on commit 8188a38

Please sign in to comment.