Merge pull request #6035 from myrlyn/openwrt-21.02_dmfix

luci-app-dockerman: change default to nil if data.blkio_weight is not defined
This commit is contained in:
Jo-Philipp Wich 2022-10-18 23:17:38 +02:00 committed by GitHub
commit d392ce1031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -720,7 +720,7 @@ m.handle = function(self, state, data)
local memory = data.memory or 0
local cpu_shares = data.cpu_shares or 0
local cpus = data.cpus or 0
local blkio_weight = data.blkio_weight or 500
local blkio_weight = data.blkio_weight or nil
local portbindings = {}
local exposedports = {}