Skip to content

Commit 06ea608

Browse files
committed
Fix #2045 Delete the duplicate line of configuration.host
1 parent 5de2c10 commit 06ea608

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

kubernetes/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY'
6060
# Defining host is optional and default to http://localhost
6161
configuration.host = "http://localhost"
6262

63-
# Defining host is optional and default to http://localhost
64-
configuration.host = "http://localhost"
6563
# Enter a context with an instance of the API kubernetes.client
6664
with kubernetes.client.ApiClient(configuration) as api_client:
6765
# Create an instance of the API class

kubernetes/base/config/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def load_config(**kwargs):
2828
then check if the KUBE_CONFIG_DEFAULT_LOCATION exists
2929
If neither exists, it will fall back to load_incluster_config
3030
and inform the user accordingly.
31-
3231
:param kwargs: A combination of all possible kwargs that
3332
can be passed to either load_kube_config or
3433
load_incluster_config functions.

0 commit comments

Comments
 (0)