Skip to content

Commit

Permalink
authz/github: remove debug log (#24822)
Browse files Browse the repository at this point in the history
The value being printed here can be absolutely massive (up to tens of thousands of users and repos), and is printed very often. It might cause some significant issues at large scales.
  • Loading branch information
bobheadxi committed Sep 9, 2021
1 parent d46b405 commit ddb823e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions enterprise/internal/authz/github/github.go
Expand Up @@ -3,7 +3,6 @@ package github
import (
"context"
"fmt"
"log"
"net/url"
"strconv"
"strings"
Expand Down Expand Up @@ -380,7 +379,6 @@ func (p *Provider) FetchRepoPerms(ctx context.Context, repo *extsvc.Repository,
// Perform a fresh sync with groups that need a sync.
repoID := extsvc.RepoID(repo.ID)
for _, group := range groups {
log.Printf("%+v\n", group)
// If this is a partial cache, add self to group
if len(group.Repositories) > 0 {
hasRepo := false
Expand Down

0 comments on commit ddb823e

Please sign in to comment.