fix(ifwait): match over strings and not symbols

Are they the same in Fennel?

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-09-01 02:13:36 +02:00 committed by Ryan Lahfa
parent ca9642a61e
commit f0b4e826cb

View file

@ -19,10 +19,10 @@
(match v (match v
;; - up: Reflects the administrative state of the interface (IFF_UP) ;; - up: Reflects the administrative state of the interface (IFF_UP)
;; - running: Reflects the operational state (IFF_RUNNING). ;; - running: Reflects the operational state (IFF_RUNNING).
{:event "newlink" :name params.link :up :yes :running :yes} {:event "newlink" :name params.link :up "yes" :running "yes"}
{:present true :up true :running true} {:present true :up true :running true}
{:event "newlink" :name params.link :up :yes} {:event "newlink" :name params.link :up "yes"}
{:present true :up true} {:present true :up true}
{:event "newlink" :name params.link} {:event "newlink" :name params.link}