Skip to content

Commit

Permalink
fix: fix wrong global reference for Numbers connector (#363)
Browse files Browse the repository at this point in the history
Because

- We've changed the reference syntax.

This commit

- Fix wrong global reference for Numbers connector.
  • Loading branch information
donch1989 authored Jan 15, 2024
1 parent 92682ce commit 5c5eda8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/worker/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,11 @@ func (w *worker) TriggerPipelineWorkflow(ctx workflow.Context, param *TriggerPip
if comp.DefinitionName == "connector-definitions/70d8664a-d512-4517-a5e8-5d4da81756a7" {
metadata, err := structpb.NewValue(map[string]interface{}{
"pipeline": map[string]interface{}{
"uid": "{global.pipeline.uid}",
"recipe": "{global.pipeline.recipe}",
"uid": "${global.pipeline.uid}",
"recipe": "${global.pipeline.recipe}",
},
"owner": map[string]interface{}{
"uid": "{global.owner.uid}",
"uid": "${global.owner.uid}",
},
})
if err != nil {
Expand Down

0 comments on commit 5c5eda8

Please sign in to comment.