You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org> on 2023/07/18 09:42:50 UTC

[GitHub] [apisix] monkeyDluffy6017 commented on a diff in pull request #9846: refactor: access customized config directly

monkeyDluffy6017 commented on code in PR #9846:
URL: https://github.com/apache/apisix/pull/9846#discussion_r1266521450


##########
apisix/cli/ops.lua:
##########
@@ -817,21 +828,25 @@ local function start(env, ...)
 
     local customized_yaml = args["config"]
     if customized_yaml then
-        profile.apisix_home = env.apisix_home .. "/"
-        local local_conf_path = profile:yaml_path("config")
-        local local_conf_path_bak = local_conf_path .. ".bak"
+        local customized_config_path

Review Comment:
   Is `customized_yaml_path` better? keep consistent with `customized_yaml`



-- 
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-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org