mirror of https://bitbucket.org/ausocean/av.git
revid: fixed assignment of MTSRBSize
This commit is contained in:
parent
61274a18d5
commit
67e50295c9
|
@ -525,7 +525,7 @@ func (r *Revid) Update(vars map[string]string) error {
|
||||||
r.config.Logger.Log(logger.Warning, pkg+"invalid MTSRBSize var", "value", value)
|
r.config.Logger.Log(logger.Warning, pkg+"invalid MTSRBSize var", "value", value)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
r.config.MTSRBElementSize = v
|
r.config.MTSRBSize = v
|
||||||
case "MTSRBElementSize":
|
case "MTSRBElementSize":
|
||||||
v, err := strconv.Atoi(value)
|
v, err := strconv.Atoi(value)
|
||||||
if err != nil || v < 0 {
|
if err != nil || v < 0 {
|
||||||
|
|
Loading…
Reference in New Issue