From 5a75785cfbbfee3acd64563bd6800dafb6b6af9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Fri, 8 May 2026 13:14:56 +0200 Subject: [PATCH] config: FileDev: add omitempty --- config/config.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/config.go b/config/config.go index 5dac1f9..690170f 100644 --- a/config/config.go +++ b/config/config.go @@ -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 {