Skip to content

Commit

Permalink
Merge pull request #846 from hajowieland/master
Browse files Browse the repository at this point in the history
Enhancements for example3.py and example4.py
  • Loading branch information
k8s-ci-robot authored Jul 25, 2019
2 parents 4a204fa + c3f36bd commit 8845bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/example3.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def main():
config.load_kube_config()

print("Supported APIs (* is preferred version):")
print("%-20s %s" %
print("%-40s %s" %
("core", ",".join(client.CoreApi().get_api_versions().versions)))
for api in client.ApisApi().get_api_versions().groups:
versions = []
Expand Down
2 changes: 1 addition & 1 deletion examples/example4.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def main():
# utility
config.load_kube_config(context=option)

print("Active host is %s" % configuration.host)
print("Active host is %s" % configuration.Configuration().host)

v1 = client.CoreV1Api()
print("Listing pods with their IPs:")
Expand Down

0 comments on commit 8845bee

Please sign in to comment.