mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 16:37:04 +08:00
Fix omitting empty cleanup rules
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user