mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
fix tag key typo (#9606)
This commit is contained in:
parent
9b1772253f
commit
9c4cf0f961
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ cdef class Metric:
|
|||
# Default tags will be exported if it's empty map.
|
||||
if tags:
|
||||
for tag_k, tag_v in tags.items():
|
||||
c_tags[tag_v.encode("ascii")] = tag_v.encode("ascii")
|
||||
c_tags[tag_k.encode("ascii")] = tag_v.encode("ascii")
|
||||
c_value = value
|
||||
with nogil:
|
||||
self.metric.get().Record(c_value, c_tags)
|
||||
|
|
Loading…
Add table
Reference in a new issue