From ad4de6c2f9fe6fbec72f3d947dee9fdc3104f791 Mon Sep 17 00:00:00 2001 From: brian murphy Date: Thu, 3 Oct 2019 15:33:38 +0100 Subject: [PATCH] Tidy up a misnamed function --- REST_API_v2/Schedules/list_oncall_users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/REST_API_v2/Schedules/list_oncall_users.py b/REST_API_v2/Schedules/list_oncall_users.py index 7fc4633..ffc2403 100755 --- a/REST_API_v2/Schedules/list_oncall_users.py +++ b/REST_API_v2/Schedules/list_oncall_users.py @@ -38,7 +38,7 @@ UNTIL = '' -def list_overrides(): +def list_oncall_users(): url = 'https://api.pagerduty.com/schedules/{id}/users'.format( id=SCHEDULE_ID ) @@ -56,4 +56,4 @@ def list_overrides(): print(r.json()) if __name__ == '__main__': - list_overrides() + list_oncall_users()