Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.

Commit e0ad5e8

Browse files
committed
Replace base64.encodestring in unit test
1 parent 9c5e6a0 commit e0ad5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/kube_config_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141

4242
def _base64(string):
43-
return base64.encodestring(string.encode()).decode()
43+
return base64.standard_b64decode(string.encode()).decode()
4444

4545

4646
def _format_expiry_datetime(dt):

0 commit comments

Comments
 (0)