Skip to content

Commit

Permalink
Remove jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
brtduvally committed Aug 25, 2023
1 parent b0b6fa0 commit f543879
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/namespaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ def res_count(namespace):
res_num = res_num + len(daemon_info.items)
stateful_info = app_query.list_namespaced_stateful_set(namespace, watch=False, timeout_seconds=15)
res_num = res_num + len(stateful_info.items)
job_info = job_query.list_namespaced_job(namespace, watch=False, timeout_seconds=15)
res_num = res_num + len(job_info.items)
cron_info = cron_query.list_namespaced_cron_job(namespace, watch=False, timeout_seconds=15)
res_num = res_num + len(cron_info.items)
return res_num
Expand Down

0 comments on commit f543879

Please sign in to comment.