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:
commit
d392ce1031
1 changed files with 1 additions and 1 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in a new issue