Skip to content

Commit

Permalink
Remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
poorvajasathasivam committed Sep 25, 2024
1 parent b7ccf17 commit d91a39a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kubernetes/client/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def __init__(self, resp):
self.reason = resp.reason
self.data = resp.data

def getheaders(self):
"""Returns a dictionary of the response headers."""
return self.urllib3_response.getheaders()


def getheader(self, name, default=None):
"""Returns a given response header."""
return self.urllib3_response.getheader(name, default)
Expand Down

0 comments on commit d91a39a

Please sign in to comment.