Skip to content

Commit

Permalink
Addressing Gal's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Toker committed Jun 10, 2024
1 parent 177d5e4 commit 33edd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dataplane/http/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ func (c *context) encodeTypedAttributes(attributes map[string]interface{}) (map[
typedAttributes[attributeName] = make(map[string]interface{})
switch value := attributeValue.(type) {
default:
return nil, fmt.Errorf("unexpected attribute type for %s: %T. Underlying type %v", attributeName, reflect.TypeOf(attributeValue), value)
return nil, fmt.Errorf("unexpected attribute type for %s: %T", attributeName, value)
case int:
typedAttributes[attributeName]["N"] = strconv.Itoa(value)
case uint64:
Expand Down

0 comments on commit 33edd75

Please sign in to comment.