Skip to content

Commit

Permalink
fix workload list, delete, inspector from returning empty queries (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
Obliviour authored Dec 13, 2024
1 parent dba38bd commit a24a0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpk/core/workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def determine_workload_list_filter_by_job(args) -> str:
the argument needed to filter job names from workload list
"""
# Argument positions related to columns created by workload list command.
if not hasattr(args, 'filter_by_job'):
if not hasattr(args, 'filter_by_job') or args.filter_by_job is None:
return ''
else:
job_name_arg = '$1'
Expand Down

0 comments on commit a24a0f8

Please sign in to comment.