lib/config: Minor attribute updates
As discussed in https://github.com/syncthing/docs/pull/169 GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3082
This commit is contained in:
committed by
Audrius Butkevicius
parent
1be40cc4fa
commit
b993b41847
@@ -42,7 +42,7 @@ type FolderConfiguration struct {
|
||||
Invalid string `xml:"-" json:"invalid"` // Set at runtime when there is an error, not saved
|
||||
cachedPath string
|
||||
|
||||
DeprecatedReadOnly bool `xml:"ro,attr" json:"-"`
|
||||
DeprecatedReadOnly bool `xml:"ro,attr,omitempty" json:"-"`
|
||||
}
|
||||
|
||||
type FolderDeviceConfiguration struct {
|
||||
|
||||
Reference in New Issue
Block a user