uranusjr commented on code in PR #65472:
URL: https://github.com/apache/airflow/pull/65472#discussion_r3108612919
##########
providers/edge3/src/airflow/providers/edge3/executors/edge_executor.py:
##########
@@ -182,14 +183,22 @@ def _check_worker_liveness(self, session: Session) ->
bool:
)
else EdgeWorkerState.UNKNOWN
)
+ # Reset presented status
+ sysinfo = {}
+ sysinfo.update(worker.sysinfo or {}) # copy needed to have
alembic detect change in content
+ sysinfo["status"] = logging.NOTSET
Review Comment:
```suggestion
sysinfo = dict(worker.sysinfo or {}) # copy needed to have
alembic detect change in content
sysinfo["status"] = logging.NOTSET
```
I think this would be fine? (It’s a bit cleaner to me)
--
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]