You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/03/03 08:40:41 UTC

[skywalking-nginx-lua] 01/01: Remove 3 `tonumber` to erase the i64 not supported in Lua issue.

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch id-format
in repository https://gitbox.apache.org/repos/asf/skywalking-nginx-lua.git

commit 260c63fd54b6e13fb0de59231e49893ccdb46592
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Tue Mar 3 16:40:29 2020 +0800

    Remove 3 `tonumber` to erase the i64 not supported in Lua issue.
---
 lib/skywalking/util.lua | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/skywalking/util.lua b/lib/skywalking/util.lua
index 8a349fa..18fe0ba 100644
--- a/lib/skywalking/util.lua
+++ b/lib/skywalking/util.lua
@@ -98,10 +98,6 @@ function _M.formatID(str)
         return nil
     end
 
-    parts[1] = tonumber(parts[1])
-    parts[2] = tonumber(parts[2])
-    parts[3] = tonumber(parts[3])
-
     return parts
 end