Update README.md

Remove redundant statements.
This commit is contained in:
dalongxia2017 2025-04-07 22:36:19 +08:00 committed by GitHub
parent bd323606b9
commit b1b3e3a62e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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