Skip to content

Commit d91a39a

Browse files
Remove deprecated function
1 parent b7ccf17 commit d91a39a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

kubernetes/client/rest.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ def __init__(self, resp):
3939
self.reason = resp.reason
4040
self.data = resp.data
4141

42-
def getheaders(self):
43-
"""Returns a dictionary of the response headers."""
44-
return self.urllib3_response.getheaders()
45-
42+
4643
def getheader(self, name, default=None):
4744
"""Returns a given response header."""
4845
return self.urllib3_response.getheader(name, default)

0 commit comments

Comments
 (0)