From 5e50aeab2b315115ebe7d5ae1b66384cc39971a2 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Fri, 18 Aug 2017 14:31:25 +0800 Subject: [PATCH] add postfix to datasheet data string --- lualib/skynet/datasheet/builder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/skynet/datasheet/builder.lua b/lualib/skynet/datasheet/builder.lua index 0197eee3..2600ed55 100644 --- a/lualib/skynet/datasheet/builder.lua +++ b/lualib/skynet/datasheet/builder.lua @@ -12,7 +12,7 @@ local address local unique_id = 0 local function unique_string(str) unique_id = unique_id + 1 - return str .. "." .. tostring(unique_id) + return str .. ("." .. tostring(unique_id)) end local function monitor(pointer)