aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/lua/neural.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua
index 5d2e9bfd5..eda089abc 100644
--- a/src/plugins/lua/neural.lua
+++ b/src/plugins/lua/neural.lua
@@ -116,7 +116,7 @@ local redis_lua_script_vectors_len = [[
local locked = redis.call('HGET', prefix, 'lock')
if locked then
local host = redis.call('HGET', prefix, 'hostname') or 'unknown'
- return string.format('%s:%s', hostname, locked)
+ return string.format('%s:%s', host, locked)
end
local nspam = 0
local nham = 0