jason810496 commented on code in PR #74064:
URL: https://github.com/apache/airflow/pull/74064#discussion_r4163050081


##########
go-sdk/airflow/dag.go:
##########
@@ -210,6 +212,9 @@ func (d *DagRef) Task(fn any, opts ...TaskOption) *TaskRef {
                        "airflow.DagRef.Task: task %q of Dag %q: %v", taskID, 
d.dagID, triggerErr,
                ))
        }
+       if err := checkTaskSpec(spec); err != nil {

Review Comment:
   This merges cleanly with #74057 but stops compiling (`undefined: spec`), 
because #74057 replaces the local `spec` with `cfg.spec`. Once #74057 lands, 
this needs:
   
   ```suggestion
        if err := checkTaskSpec(cfg.spec); err != nil {
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to