Merge pull request #1677 from tbille/fix-duplicate-code-docs

Remove duplicate code in documentation
This commit is contained in:
Kubernetes Prow Robot 2022-01-15 13:39:26 -08:00 committed by GitHub
commit 1937611632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,8 +60,6 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Defining host is optional and default to http://localhost
configuration.host = "http://localhost"
# Defining host is optional and default to http://localhost
configuration.host = "http://localhost"
# Enter a context with an instance of the API kubernetes.client
with kubernetes.client.ApiClient(configuration) as api_client:
# Create an instance of the API class