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:
parent
6f04012235
commit
dec3c904f6
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@
|
|||
(match v
|
||||
;; - up: Reflects the administrative state of the interface (IFF_UP)
|
||||
;; - 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}
|
||||
|
||||
{:event "newlink" :name params.link :up :yes}
|
||||
{:event "newlink" :name params.link :up "yes"}
|
||||
{:present true :up true}
|
||||
|
||||
{:event "newlink" :name params.link}
|
||||
|
|
Loading…
Reference in a new issue