Commit c089cbd
committed
Fix Neptune operator execute_complete missing error handling
Both NeptuneStartDbClusterOperator and NeptuneStopDbClusterOperator
silently succeeded when the trigger reported a failure — no status
validation, so the task was marked success and downstream tasks would
start against a cluster that wasn't actually running.
Also fixes wrong XCom key (cluster_id → db_cluster_id) that caused
empty cluster ID in return value, and removes debug self.log.info(event).1 parent ac6fb17 commit c089cbd
1 file changed
Lines changed: 9 additions & 15 deletions
Lines changed: 9 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
| 191 | + | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 193 | + | |
| 194 | + | |
198 | 195 | | |
199 | 196 | | |
200 | 197 | | |
| |||
314 | 311 | | |
315 | 312 | | |
316 | 313 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
325 | 319 | | |
326 | 320 | | |
0 commit comments