From 0eee0993c252d642f29ecf61741d2a5a3d855897 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 18 Apr 2018 11:23:49 +0100 Subject: [PATCH] [Minor] Fix template --- src/plugins/lua/bayes_expiry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/bayes_expiry.lua b/src/plugins/lua/bayes_expiry.lua index 77ec2e527..c73601e0b 100644 --- a/src/plugins/lua/bayes_expiry.lua +++ b/src/plugins/lua/bayes_expiry.lua @@ -166,7 +166,7 @@ local expiry_script = [[ local lock = redis.call('GET', lock_key) if lock then - if lock ~= ${hostname} then + if lock ~= '${hostname}' then return 'locked by ' .. lock end end -- 2.39.5