Skip to content

Commit 7d40da7

Browse files
committed
add a cronjob crud example
1 parent f412089 commit 7d40da7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/cronjob_crud.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ def get_cronjob_list(namespace='default'):
5959
ret = v1.list_namespaced_cron_job(namespace=namespace, pretty=True, _preload_content=False)
6060
cron_job_list = json.loads(ret.data)
6161
print(f'cronjob number={len(cron_job_list["items"])}')
62-
# for cron in cron_job_list['items']:
63-
# print(json.dumps(cron))
6462
return cron_job_list["items"]
6563

6664

0 commit comments

Comments
 (0)