Skip to content

Commit

Permalink
fix: rename field
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Jul 3, 2024
1 parent 90965ce commit be2e7c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/testworkflow-toolkit/commands/artifacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ func NewArtifactsCmd() *cobra.Command {
}

// Support cd evaents
if env.Config().System.CDEventTarget != "" {
handlerOpts = append(handlerOpts, artifacts.WithCDEventsTarget(env.Config().System.CDEventTarget))
if env.Config().System.CDEventsTarget != "" {
handlerOpts = append(handlerOpts, artifacts.WithCDEventsTarget(env.Config().System.CDEventsTarget))
handlerOpts = append(handlerOpts, artifacts.WithCDEventsArtifactParameters(cdevents.CDEventsArtifactParameters{
Id: env.Config().Execution.Id,
Name: env.Config().Execution.Name,
Expand Down
2 changes: 1 addition & 1 deletion cmd/testworkflow-toolkit/env/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type envSystemConfig struct {
DashboardUrl string `envconfig:"TK_DASH"`
ApiUrl string `envconfig:"TK_API"`
ClusterID string `envconfig:"TK_CLU"`
CDEventTarget string `envconfig:"TK_CDE"`
CDEventsTarget string `envconfig:"TK_CDE"`
}

type envImagesConfig struct {
Expand Down

0 comments on commit be2e7c9

Please sign in to comment.