From bf511271f1db52aefe0bd133aa393d9e09131c24 Mon Sep 17 00:00:00 2001 From: Walt Jones Date: Tue, 24 Sep 2019 14:21:45 -0700 Subject: [PATCH] fix: lint error --- client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client_test.go b/client_test.go index e3f7a64..32404e0 100644 --- a/client_test.go +++ b/client_test.go @@ -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() }