mirror of
https://github.com/taoensso/telemere.git
synced 2026-02-05 03:43:13 +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,
|
(Signal. 1 instant uid,
|
||||||
location ns line column file,
|
location ns line column file,
|
||||||
sample-rate, kind id level, ctx parent,
|
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
|
(if extra-kvs
|
||||||
(reduce-kv assoc signal extra-kvs)
|
(reduce-kv assoc signal extra-kvs)
|
||||||
|
|
|
||||||
|
|
@ -86,8 +86,7 @@
|
||||||
|
|
||||||
[(let [{start :instant, end :end-instant} sv1]
|
[(let [{start :instant, end :end-instant} sv1]
|
||||||
[(is (enc/inst? start))
|
[(is (enc/inst? start))
|
||||||
(is (enc/inst? end))
|
(is (nil? end))])
|
||||||
(is (= start end))])
|
|
||||||
|
|
||||||
(let [{start :instant, end :end-instant} sv2]
|
(let [{start :instant, end :end-instant} sv2]
|
||||||
[(is (enc/inst? start))
|
[(is (enc/inst? start))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue