Skip to content

Commit

Permalink
fix: tune conig
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Dec 20, 2024
1 parent 0fe88b5 commit 11e1e36
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions api/executor/v1/webhook_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ type WebhookSpec struct {
// OnStateChange will trigger the webhook only when the result of the current execution differs from the previous result of the same test/test suite/workflow
// Deprecated: field is not used
OnStateChange bool `json:"onStateChange,omitempty"`
// webhook parameter configuration
WebhookConfig map[string]WebhookParameterSchema `json:"webhookConfig,omitempty"`
// webhook configuration
Config map[string]WebhookConfigValue `json:"config,omitempty"`
// webhook parameters
Parameters map[string]WebhookParameterSchema `json:"parameters,omitempty"`
// webhook template reference
WebhookTemplateRef *WebhookTemplateRef `json:"webhookTemplateRef,omitempty"`
}
Expand All @@ -71,8 +73,6 @@ type WebhookParameterSchema struct {
type WebhookTemplateRef struct {
// webhook template name to include
Name string `json:"name"`
// webhook config to use in webhook template
Config map[string]WebhookConfigValue `json:"config,omitempty"`
}

// webhook configuration value
Expand Down
20 changes: 10 additions & 10 deletions api/executor/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 11e1e36

Please sign in to comment.