File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ require (
14
14
github.com/containrrr/shoutrrr v0.8.0
15
15
github.com/fergusstrange/embedded-postgres v1.29.0 // indirect
16
16
github.com/flanksource/commons v1.35.3
17
- github.com/flanksource/duty v1.0.800
17
+ github.com/flanksource/duty v1.0.802
18
18
github.com/flanksource/gomplate/v3 v3.24.50
19
19
github.com/flanksource/kopper v1.0.11
20
20
github.com/gomarkdown/markdown v0.0.0-20240419095408-642f0ee99ae2
Original file line number Diff line number Diff line change @@ -443,8 +443,8 @@ github.com/flanksource/artifacts v1.0.14 h1:Vv70bccsae0MwGaf/uSPp34J5V1/PyKfct9z
443
443
github.com/flanksource/artifacts v1.0.14 /go.mod h1:qHVCnQu5k50aWNJ5UhpcAKEl7pAzqUrFFKGSm147G70 =
444
444
github.com/flanksource/commons v1.35.3 h1:EG46iWodmSQQbXywjvEAgK56ZH26jYtMv0RiPM3eKDE =
445
445
github.com/flanksource/commons v1.35.3 /go.mod h1:cLZURmvF0dw3wR5VyPuibRl/7h+NEiyMdo70WhJFB9Y =
446
- github.com/flanksource/duty v1.0.800 h1:tf9JdPKmpYXHlm/y1BAcnJev1aJfuv+eKLXf0ALuBs4 =
447
- github.com/flanksource/duty v1.0.800 /go.mod h1:SUJg5MSfqt0UUM2l2hP/pPAsipS0Px5L8btRD7fLwM8 =
446
+ github.com/flanksource/duty v1.0.802 h1:5OLObNalnoWB5wdkzr30DNPHz7IvEZ3UJRodUyX6H8Q =
447
+ github.com/flanksource/duty v1.0.802 /go.mod h1:SUJg5MSfqt0UUM2l2hP/pPAsipS0Px5L8btRD7fLwM8 =
448
448
github.com/flanksource/gomplate/v3 v3.24.50 h1:z8wKtFqp6yqKf2aiNfKeiG57/JlvYmpGULApQI+4rM4 =
449
449
github.com/flanksource/gomplate/v3 v3.24.50 /go.mod h1:N8lVd8fnm6gS0l3JWlcJgso2Ol9P2L7CW00gvuIHEk0 =
450
450
github.com/flanksource/is-healthy v1.0.57 h1:y9lyxu4GxWcghmT8uWAkg0gaC8bAUdJ4aOUGDpe4oQo =
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ func PullPlaybookAction(ctx job.JobRuntime, upstreamConfig upstream.UpstreamConf
99
99
Record (time .Duration (time .Since (response .Action .ScheduledTime ).Milliseconds ()))
100
100
101
101
err = ctx .Transaction (func (ctx context.Context , _ trace.Span ) error {
102
- // Don't save playbook_run_id to avoid foreign key constraint
103
- if err := ctx .DB ().Omit ("playbook_run_id" ).Save (& response .Action ).Error ; err != nil {
102
+ // Don't save playbook_run_id & agent_id to avoid foreign key constraint
103
+ if err := ctx .DB ().Omit ("playbook_run_id" , "agent_id" ).Save (& response .Action ).Error ; err != nil {
104
104
return oops .Wrap (err )
105
105
}
106
106
You can’t perform that action at this time.
0 commit comments