Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Update comments of interfaceTypeTC
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsands committed Sep 4, 2018
1 parent c712b79 commit 549a5b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func decodeTraceContext(raw string) (tc *TraceContext, err error) {
return
}

// encodeTraceContext returns a concatenated string of all field values that exist in a trace context.
// typeInferenceTC returns a concatenated string of all field values that exist in a trace context from a map[string]interface{}
func typeInferenceTC(tc interface{}) string {
tcs := tc.(map[string]interface{})

Expand Down
2 changes: 1 addition & 1 deletion trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func TestDecodeTraceContextOtherCases(t *testing.T) {
}

//TODO: need to if a string is in the right order accordance.
// Tests if encodeTraceContext outputs a the fields of a TID in the correct order.
// Tests if typeInferenceTC outputs a the fields of a TID in the correct order.
func TestTypeInferenceTC(t *testing.T) {
in := map[string]interface{}{
"PID": 1,
Expand Down

0 comments on commit 549a5b0

Please sign in to comment.