Commit e72f85e4 authored by Sigmund Augdal's avatar Sigmund Augdal

Fix memcache server name generation

parent 51855c76
......@@ -74,7 +74,7 @@ end
function memcache_server(index)
local domain = '.' .. ngx.var.namespace .. '.svc.cluster.local'
local memcache_service = ngx.var.memcache
return memcache_service .. '-.' .. memcache_service .. domain
return memcache_service .. '-' .. index .. '.' .. memcache_service .. domain
end
function userData()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment