Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjones committed Sep 25, 2019
1 parent 42d99fd commit bf51127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func configuredOptionsFromData(data map[string]interface{}) map[string]interface

func framesLenFromData(data map[string]interface{}) int {
body := data["body"].(map[string]interface{})
trace_chain := body["trace_chain"].([]map[string]interface{})
frames := reflect.ValueOf(trace_chain[0]["frames"])
traceChain := body["trace_chain"].([]map[string]interface{})
frames := reflect.ValueOf(traceChain[0]["frames"])
return frames.Len()
}

0 comments on commit bf51127

Please sign in to comment.