config: FileDev: add omitempty
This commit is contained in:
+5
-5
@@ -136,11 +136,11 @@ type UserDef struct {
|
|||||||
|
|
||||||
type FileDef struct {
|
type FileDef struct {
|
||||||
Path string
|
Path string
|
||||||
Mode os.FileMode
|
Mode os.FileMode `json:",omitempty" yaml:",omitempty"`
|
||||||
Content string
|
Content string `json:",omitempty" yaml:",omitempty"`
|
||||||
Content64 string
|
Content64 string `json:",omitempty" yaml:",omitempty"`
|
||||||
Symlink string
|
Symlink string `json:",omitempty" yaml:",omitempty"`
|
||||||
Dir bool
|
Dir bool `json:",omitempty" yaml:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type NetworkDef struct {
|
type NetworkDef struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user