config: FileDev: add omitempty

This commit is contained in:
Mikaël Cluseau
2026-05-08 13:14:56 +02:00
parent b72bed72bb
commit 5a75785cfb
+5 -5
View File
@@ -136,11 +136,11 @@ type UserDef struct {
type FileDef struct {
Path string
Mode os.FileMode
Content string
Content64 string
Symlink string
Dir bool
Mode os.FileMode `json:",omitempty" yaml:",omitempty"`
Content string `json:",omitempty" yaml:",omitempty"`
Content64 string `json:",omitempty" yaml:",omitempty"`
Symlink string `json:",omitempty" yaml:",omitempty"`
Dir bool `json:",omitempty" yaml:",omitempty"`
}
type NetworkDef struct {