tokers commented on code in PR #7048: URL: https://github.com/apache/apisix/pull/7048#discussion_r875387907
########## apisix/cli/ops.lua: ########## @@ -467,9 +469,8 @@ Please modify "admin_key" in conf/config.yaml . -- Therefore we need to check the absolute version instead cert_path = pl_path.abspath(cert_path) - local ok, err = util.is_file_exist(cert_path) - if not ok then - util.die(err, "\n") + if not pl_path.exists(cert_path) then + util.die("certificate path", cert_path, "isn't exist\n") Review Comment: ```suggestion util.die("certificate path", cert_path, "doesn't exist\n") ``` -- 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