monkeyDluffy6017 commented on code in PR #9701:
URL: https://github.com/apache/apisix/pull/9701#discussion_r1254220027
##########
apisix/cli/ops.lua:
##########
@@ -833,20 +850,7 @@ local function start(env, ...)
end
-local function cleanup()
- local local_conf_path = profile:yaml_path("config")
- local local_conf_path_bak = local_conf_path .. ".bak"
- if pl_path.exists(local_conf_path_bak) then
- local ok, err = os_remove(local_conf_path)
- if not ok then
- print("failed to remove customized config, error: ", err)
- end
- ok, err = os_rename(local_conf_path_bak, local_conf_path)
- if not ok then
- util.die("failed to recover original config file, error: ", err)
- end
- end
-end
+
Review Comment:
Redundant blanks
--
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]