shuaijinchao commented on a change in pull request #6214: URL: https://github.com/apache/apisix/pull/6214#discussion_r793329918
########## File path: apisix/cli/file.lua ########## @@ -52,6 +58,32 @@ local function tab_is_array(t) end +local function generate_random_str(len) + local rand_str = "" + local rand_num = 0 + + -- set random seed + randomseed(tostring(os_time()):reverse():sub(1, 5)) Review comment: APISIX and CLI are two completely separate programs. There is no sharing between them. APISIX runs on OpenResty and the CLI runs on luajit or native lua. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org