diff --git a/files/files.go b/files/files.go index 7d97dd04..868e7e01 100644 --- a/files/files.go +++ b/files/files.go @@ -23,7 +23,7 @@ type Content struct { type ContentFileInfo struct { Owner string `yaml:"owner,omitempty" json:"owner,omitempty"` - Group string `yaml:"group" json:"group"` + Group string `yaml:"group,omitempty" json:"group,omitempty"` Mode os.FileMode `yaml:"mode,omitempty" json:"mode,omitempty"` MTime time.Time `yaml:"mtime,omitempty" json:"mtime,omitempty"` Size int64 `yaml:"-" json:"-"` diff --git a/www/docs/static/schema.json b/www/docs/static/schema.json index 292f75ae..1f741c5e 100644 --- a/www/docs/static/schema.json +++ b/www/docs/static/schema.json @@ -306,10 +306,7 @@ } }, "additionalProperties": false, - "type": "object", - "required": [ - "group" - ] + "type": "object" }, "Contents": { "items": {