nic-chen commented on a change in pull request #689:
URL: https://github.com/apache/apisix-dashboard/pull/689#discussion_r517285313
##########
File path: api/conf/conf.go
##########
@@ -78,12 +84,38 @@ func setConf() {
if dagLibPath != "" {
DagLibPath = dagLibPath
}
+
//etcd
eTCDEndpoints :=
configuration.Get("conf.etcd.endpoints").String()
if eTCDEndpoints != "" {
ETCDEndpoints = eTCDEndpoints
}
+ //log
+ logLevel :=
configuration.Get("conf.log.error_log.level").String()
Review comment:
if set the default value by config, I think don't need JSONSchema, just
set default value in conf file.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]