|
if c, ok := m.options["cacheLength"]; ok {
|
|
if c, ok := m.options["cacheLength"]; ok {
|
|
if t, err := common.ToInt(c); err != nil || t < 0 {
|
|
if t, err := common.ToInt(c); err != nil || t < 0 {
|
|
logger.Warnf("invalid type for cacheLength property, should be positive integer but found %t", c)
|
|
logger.Warnf("invalid type for cacheLength property, should be positive integer but found %t", c)
|