This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nginx-lua.git
The following commit(s) were added to refs/heads/master by this push:
new 064dc86 fix code style (#61)
064dc86 is described below
commit 064dc86d0679322f42338e6fc239e443bb2f72d0
Author: zhangzheng <[email protected]>
AuthorDate: Tue Jan 12 14:21:55 2021 +0800
fix code style (#61)
---
lib/skywalking/util.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/skywalking/util.lua b/lib/skywalking/util.lua
index 459e384..15eb7eb 100644
--- a/lib/skywalking/util.lua
+++ b/lib/skywalking/util.lua
@@ -30,10 +30,10 @@ end
local timestamp = function()
local _, b = math.modf(os.clock())
- if b==0 then
- b='000'
+ if b == 0 then
+ b = '000'
else
- b=tostring(b):sub(3,5)
+ b = tostring(b):sub(3,5)
end
return os.time() * 1000 + b