Browse Source

Removed logger in character data loader

1.0
Gisle Aune 7 years ago
parent
commit
10d2cbcf3a
  1. 3
      loader/character.go

3
loader/character.go

@ -3,7 +3,6 @@ package loader
import ( import (
"context" "context"
"errors" "errors"
"log"
"strings" "strings"
"git.aiterp.net/rpdata/api/model/character" "git.aiterp.net/rpdata/api/model/character"
@ -70,8 +69,6 @@ func characterIDBatch(ctx context.Context, keys dataloader.Keys) []*dataloader.R
results := make([]*dataloader.Result, 0, len(keys)) results := make([]*dataloader.Result, 0, len(keys))
ids := keys.Keys() ids := keys.Keys()
log.Println("Loading", len(ids), "characters:", strings.Join(ids, ","))
characters, err := character.ListIDs(ids...) characters, err := character.ListIDs(ids...)
if err != nil { if err != nil {
for range ids { for range ids {

Loading…
Cancel
Save