mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-30 06:48:24 +00:00
[mod] Only incl. :end-instant in signals with run forms
This commit is contained in:
parent
2989649679
commit
45f924a1f3
2 changed files with 2 additions and 3 deletions
|
|
@ -370,7 +370,7 @@
|
|||
(Signal. 1 instant uid,
|
||||
location ns line column file,
|
||||
sample-rate, kind id level, ctx parent,
|
||||
data msg_, error nil nil instant nil extra-kvs))]
|
||||
data msg_, error nil nil nil nil extra-kvs))]
|
||||
|
||||
(if extra-kvs
|
||||
(reduce-kv assoc signal extra-kvs)
|
||||
|
|
|
|||
|
|
@ -86,8 +86,7 @@
|
|||
|
||||
[(let [{start :instant, end :end-instant} sv1]
|
||||
[(is (enc/inst? start))
|
||||
(is (enc/inst? end))
|
||||
(is (= start end))])
|
||||
(is (nil? end))])
|
||||
|
||||
(let [{start :instant, end :end-instant} sv2]
|
||||
[(is (enc/inst? start))
|
||||
|
|
|
|||
Loading…
Reference in a new issue