duplicate configuration.host lines in example

This commit is contained in:
Ben Healey 2022-11-22 13:58:40 -05:00 committed by GitHub
parent 2d586a158e
commit b25ead9390
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