Skip to content

Commit

Permalink
Remove URL TODO
Browse files Browse the repository at this point in the history
- requests already causes an [CRITICAL] Invalid URL error
  • Loading branch information
martialblog committed May 15, 2023
1 parent 824f160 commit 10f502d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions check_vmware_nsxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ class Client:
API_PREFIX = '/api/v1/'

def __init__(self, api, username, password, logger=None, verify=True, max_age=5):
# TODO: parse and validate url?

self.api = api
self.username = username
self.password = password
Expand All @@ -105,7 +103,7 @@ def __init__(self, api, username, password, logger=None, verify=True, max_age=5)
def request(self, url, method='GET'):
"""
Basic JSON request handling
s
Handles authentication and returns the JSON result when successful
"""

Expand Down

0 comments on commit 10f502d

Please sign in to comment.