luci-app-dockerman: change default to nil if data.blkio_weight is not defined
authorJonathon Walker <jonathon.l.walker@gmail.com>
Tue, 18 Oct 2022 16:04:35 +0000 (17:04 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Oct 2022 21:22:40 +0000 (23:22 +0200)
commit848f8ffc3d9acc167cd9d1ecd139b685d9ed3569
tree1d17fc5af6fe09cfdd470b2e90e355bd1342166b
parent38df801a31be3cf8b3d7ab9fbc899ebea48b2532
luci-app-dockerman: change default to nil if data.blkio_weight is not defined

Fixes: #5327
Signed-off-by: Jonathon Walker <jonathon.l.walker@gmail.com>
applications/luci-app-dockerman/luasrc/model/cbi/dockerman/newcontainer.lua