Don't serialize deprecated config options
This commit is contained in:
parent
1d602b9efa
commit
0fcbee6478
|
@ -57,9 +57,9 @@ type OptionsConfiguration struct {
|
||||||
StartBrowser bool `xml:"startBrowser" default:"true"`
|
StartBrowser bool `xml:"startBrowser" default:"true"`
|
||||||
UPnPEnabled bool `xml:"upnpEnabled" default:"true"`
|
UPnPEnabled bool `xml:"upnpEnabled" default:"true"`
|
||||||
|
|
||||||
Deprecated_ReadOnly bool `xml:"readOnly,omitempty"`
|
Deprecated_ReadOnly bool `xml:"readOnly,omitempty" json:"-"`
|
||||||
Deprecated_GUIEnabled bool `xml:"guiEnabled,omitempty"`
|
Deprecated_GUIEnabled bool `xml:"guiEnabled,omitempty" json:"-"`
|
||||||
Deprecated_GUIAddress string `xml:"guiAddress,omitempty"`
|
Deprecated_GUIAddress string `xml:"guiAddress,omitempty" json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GUIConfiguration struct {
|
type GUIConfiguration struct {
|
||||||
|
|
Loading…
Reference in New Issue