Upgrade to Go 1.12 (#630)
This commit is contained in:
@@ -41,7 +41,7 @@ var (
|
|||||||
func setupTracing(ctx context.Context, c Opts) error {
|
func setupTracing(ctx context.Context, c Opts) error {
|
||||||
for k := range c.TraceConfig.Tags {
|
for k := range c.TraceConfig.Tags {
|
||||||
if reservedTagNames[k] {
|
if reservedTagNames[k] {
|
||||||
return strongerrors.InvalidArgument(errors.Errorf("invalid trace tag %q, must not use a reserved tag key"))
|
return strongerrors.InvalidArgument(errors.Errorf("invalid trace tag %q, must not use a reserved tag key", k))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if c.TraceConfig.Tags == nil {
|
if c.TraceConfig.Tags == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user