Skip to content

Commit

Permalink
fix type of MockTracerAgent+Span.Tags
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspimentel committed Aug 30, 2019
1 parent 0dfb595 commit 196015e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Datadog.Trace.TestHelpers/MockTracerAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private static List<Span> ToSpans(dynamic data)
Type = dict.GetValueOrDefault<string>("type"),
Start = dict.GetValueOrDefault<long>("start"),
Duration = dict.GetValueOrDefault<ulong>("duration"),
Tags = dict.GetValueOrDefault<Dictionary<string, string>>("meta"),
Tags = dict.GetValueOrDefault<Dictionary<object, object>>("meta"),
};

return new List<Span> { span };
Expand Down Expand Up @@ -256,7 +256,7 @@ public struct Span

public ulong Duration { get; set; }

public Dictionary<string, string> Tags { get; set; }
public Dictionary<object, object> Tags { get; set; }
}
}
}

0 comments on commit 196015e

Please sign in to comment.