Avoid unnecessary reloads generating lua_shared_dict directives

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-09-22 21:16:00 -03:00
parent 624ce0857a
commit 1b8f6518cf
No known key found for this signature in database
GPG key ID: 786136016A8BA02A

View file

@ -267,6 +267,8 @@ func buildLuaSharedDictionaries(c interface{}, s interface{}, disableLuaRestyWAF
}
}
sort.Strings(out)
return strings.Join(out, ";\n") + ";\n"
}