Revolyssup commented on code in PR #9701:
URL: https://github.com/apache/apisix/pull/9701#discussion_r1260540924


##########
apisix/cli/ops.lua:
##########
@@ -821,6 +837,9 @@ local function start(env, ...)
         end
 
         print("Use customized yaml: ", customized_yaml)
+    else
+        -- Cleanup any custom config from previous runs
+        cleanup()

Review Comment:
   @monkeyDluffy6017 This is an initialization error and doesn't come from the 
openresty process. So I think we should check the error of `init(env)` and do 
the cleanup in case of error. What do you think?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to