Skip to content

Commit

Permalink
core | fix for eventservice job
Browse files Browse the repository at this point in the history
  • Loading branch information
tkorchug committed Apr 24, 2023
1 parent bca5c05 commit 4db7571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2369,8 +2369,8 @@ def jobInfo(request, pandaid=None, batchid=None, p2=None, p3=None, p4=None):

# jobset info
jobsetinfo = {}
if ('jobset' in request.session['requestParams'] or is_event_service(job)) and 'jobsetid' in job and job[
'jobsetid'] > 0:
if ('jobset' in request.session['requestParams'] or is_event_service(job)) and (
'jobsetid' in job and job['jobsetid'] and isinstance(job['jobsetid'], int) and job['jobsetid'] > 0):
jobs = []
jsquery = {
'jobsetid': job['jobsetid'],
Expand Down

0 comments on commit 4db7571

Please sign in to comment.