From c3f36bd54a554153aac1c6cea73f8c955d36cdfc Mon Sep 17 00:00:00 2001 From: hajowieland Date: Sat, 1 Jun 2019 14:05:01 +0200 Subject: [PATCH] Configuration class to show active host --- examples/example4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example4.py b/examples/example4.py index 5c0549585..334e282c2 100644 --- a/examples/example4.py +++ b/examples/example4.py @@ -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:")