Skip to content

Commit

Permalink
fix: remove deprecated field
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Jan 14, 2025
1 parent 329a067 commit c0d3e2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions api/executor/v1/webhook_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ type WebhookTemplateSpec struct {
Headers map[string]string `json:"headers,omitempty"`
// Disabled will disable the webhook
Disabled bool `json:"disabled,omitempty"`
// 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 configuration
Config map[string]WebhookConfigValue `json:"config,omitempty"`
// webhook parameters
Expand Down
5 changes: 0 additions & 5 deletions config/crd/bases/executor.testkube.io_webhooktemplates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ spec:
type: string
description: webhook headers (golang template supported)
type: object
onStateChange:
description: |-
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
type: boolean
parameters:
additionalProperties:
description: webhook parameter schema
Expand Down

0 comments on commit c0d3e2f

Please sign in to comment.