Skip to content

Commit

Permalink
newRequestContext: remove redundant else part
Browse files Browse the repository at this point in the history
  • Loading branch information
azavorotnii committed Jan 14, 2019
1 parent a76e022 commit 10f4ccd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions handler/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ func (c *Config) newRequestContext(es graphql.ExecutableSchema, doc *ast.QueryDo

if hook := c.tracer; hook != nil {
reqCtx.Tracer = hook
} else {
reqCtx.Tracer = &graphql.NopTracer{}
}

if c.complexityLimit > 0 {
Expand Down

0 comments on commit 10f4ccd

Please sign in to comment.