config: inline is NOT SUPPORTED in encoding/json (#2304)

This commit is contained in:
bobo liu
2021-03-19 17:36:39 +08:00
committed by GitHub
parent bed13d7ef1
commit 1a11b28f8d
4 changed files with 18 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ import (
// recommended to use GetDefaultServerConf instead of creating this object
// directly, so that all unspecified fields have reasonable default values.
type ServerCommonConf struct {
auth.ServerConfig `ini:",extends" json:"inline"`
auth.ServerConfig `ini:",extends"`
// BindAddr specifies the address that the server binds to. By default,
// this value is "0.0.0.0".