Commit 04dd33b5 authored by Petr Špaček's avatar Petr Špaček

Merge branch 'netlist' into 'master'

adapt to change of semantics in net.list() output

See merge request !158
parents 2753e17d 13f18ac9
Pipeline #46387 failed with stage
in 1 minute and 48 seconds
......@@ -105,7 +105,7 @@ assert(cache.backends() ~= nil)
assert(worker.stats() ~= nil)
assert(net.interfaces() ~= nil)
-- Self-checks on loaded stuff
assert(net.list()['{{SELF_ADDR}}'])
assert(net.list()[1].ip == '{{SELF_ADDR}}')
assert(#modules.list() > 0)
-- Self-check timers
ev = event.recurrent(1 * sec, function (ev) return 1 end)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment