Fix omitting empty cleanup rules

This commit is contained in:
Ingo Oppermann
2025-05-15 12:17:17 +02:00
parent d5c03932b5
commit cc0da080c6
5 changed files with 142 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ type ProcessConfigIO struct {
ID string `json:"id"`
Address string `json:"address" validate:"required" jsonschema:"minLength=1"`
Options []string `json:"options"`
Cleanup []ProcessConfigIOCleanup `json:"cleanup,omitempty"`
Cleanup []ProcessConfigIOCleanup `json:"cleanup"`
}
type ProcessConfigIOCleanup struct {