Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3f36bd

Browse files
committed
Configuration class to show active host
1 parent 4e53577 commit c3f36bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
# utility
3333
config.load_kube_config(context=option)
3434

35-
print("Active host is %s" % configuration.host)
35+
print("Active host is %s" % configuration.Configuration().host)
3636

3737
v1 = client.CoreV1Api()
3838
print("Listing pods with their IPs:")

0 commit comments

Comments
 (0)