Merge pull request #3427 from glours/bump-compose-go-v2.9.0
bump compose-go to version v2.9.0
This commit is contained in:
+4
@@ -992,6 +992,10 @@
|
||||
"exec": {
|
||||
"$ref": "#/definitions/service_hook",
|
||||
"description": "Command to execute when a change is detected and action is sync+exec."
|
||||
},
|
||||
"initial_sync": {
|
||||
"type": "boolean",
|
||||
"description": "Ensure that an initial synchronization is done before starting watch mode for sync+x triggers"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
||||
+1
@@ -2175,6 +2175,7 @@ func deriveDeepCopy_51(dst, src *Trigger) {
|
||||
}
|
||||
copy(dst.Ignore, src.Ignore)
|
||||
}
|
||||
dst.InitialSync = src.InitialSync
|
||||
if src.Extensions != nil {
|
||||
dst.Extensions = make(map[string]any, len(src.Extensions))
|
||||
src.Extensions.DeepCopy(dst.Extensions)
|
||||
|
||||
+8
-7
@@ -33,11 +33,12 @@ const (
|
||||
)
|
||||
|
||||
type Trigger struct {
|
||||
Path string `yaml:"path" json:"path"`
|
||||
Action WatchAction `yaml:"action" json:"action"`
|
||||
Target string `yaml:"target,omitempty" json:"target,omitempty"`
|
||||
Exec ServiceHook `yaml:"exec,omitempty" json:"exec,omitempty"`
|
||||
Include []string `yaml:"include,omitempty" json:"include,omitempty"`
|
||||
Ignore []string `yaml:"ignore,omitempty" json:"ignore,omitempty"`
|
||||
Extensions Extensions `yaml:"#extensions,inline,omitempty" json:"-"`
|
||||
Path string `yaml:"path" json:"path"`
|
||||
Action WatchAction `yaml:"action" json:"action"`
|
||||
Target string `yaml:"target,omitempty" json:"target,omitempty"`
|
||||
Exec ServiceHook `yaml:"exec,omitempty" json:"exec,omitempty"`
|
||||
Include []string `yaml:"include,omitempty" json:"include,omitempty"`
|
||||
Ignore []string `yaml:"ignore,omitempty" json:"ignore,omitempty"`
|
||||
InitialSync bool `yaml:"initial_sync,omitempty" json:"initial_sync,omitempty"`
|
||||
Extensions Extensions `yaml:"#extensions,inline,omitempty" json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user