Merge pull request #4587 from aledbf/order-directives

Avoid unnecessary reloads generating lua_shared_dict directives
This commit is contained in:
Kubernetes Prow Robot 2019-09-23 06:29:23 -07:00 committed by GitHub
commit 9b66f2a828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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