Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-nicolas committed Jan 2, 2025
1 parent 1d14b21 commit b296d0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/connectors/engine/workflow/reset_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ func (w Workflow) resetConnector(
return nil, temporal.NewNonRetryableApplicationError("unmarshal config", "INVALID_CONFIG", err)
}

// We need to change the connector ID to a new one, otherwise, we will
// have some conflicts with temporal and previous workflows related to the
// previous connector ID.
newConnector := models.Connector{
ID: models.ConnectorID{
Reference: uuid.New(),
Expand Down

0 comments on commit b296d0b

Please sign in to comment.