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:
Jakob Borg
2016-05-12 08:23:18 +00:00
committed by Audrius Butkevicius
parent 1be40cc4fa
commit b993b41847
6 changed files with 7 additions and 7 deletions

View File

@@ -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 {