fix direct usage of std log instead of configured logger

This commit is contained in:
Matt Jaffee 2019-01-21 14:39:24 -06:00
parent f1ecead069
commit 20e06b7b0f
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -18,7 +18,6 @@ import (
"context"
"encoding/json"
"fmt"
"log"
"sort"
"time"
@ -1188,7 +1187,7 @@ func (e *executor) executeRowShard(ctx context.Context, index string, c *pql.Cal
defer span.Finish()
if c.Name == "Range" {
log.Print("DEPRECATED: Range() is deprecated, please use Row() instead.")
e.Holder.Logger.Printf("DEPRECATED: Range() is deprecated, please use Row() instead.")
}
// Handle bsiGroup ranges differently.