mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-15 18:08:45 -07:00
lib/config: Don't XML serialize deprecated minDiskFreePct
This commit is contained in:
parent
e0405de5bf
commit
5045842f4f
@ -46,7 +46,7 @@ type FolderConfiguration struct {
|
|||||||
cachedPath string
|
cachedPath string
|
||||||
|
|
||||||
DeprecatedReadOnly bool `xml:"ro,attr,omitempty" json:"-"`
|
DeprecatedReadOnly bool `xml:"ro,attr,omitempty" json:"-"`
|
||||||
DeprecatedMinDiskFreePct float64 `xml:"minDiskFreePct" json:"-"`
|
DeprecatedMinDiskFreePct float64 `xml:"minDiskFreePct,omitempty" json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type FolderDeviceConfiguration struct {
|
type FolderDeviceConfiguration struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user