monkeyDluffy6017 commented on code in PR #9701:
URL: https://github.com/apache/apisix/pull/9701#discussion_r1259337486
##########
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:
I think we should not do this in every start, try to catch the error info of
`util.execute_cmd(env.openresty_args)` and do the `cleanup`
--
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]