ephraimbuddy commented on code in PR #24999:
URL: https://github.com/apache/airflow/pull/24999#discussion_r923012275


##########
airflow/cli/commands/jobs_command.py:
##########
@@ -27,6 +27,7 @@ def check(args, session=None):
     """Checks if job(s) are still alive"""
     if args.allow_multiple and not args.limit > 1:
         raise SystemExit("To use option --allow-multiple, you must set the 
limit to a value greater than 1.")
+

Review Comment:
   If we want to use `default` we need to remove this condition, it's not 
useful again, right?
   ```python
   if args.hostname:
           query = query.filter(BaseJob.hostname == args.hostname)
   ```
   and add a filter by hostname on the query below



-- 
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