diff --git a/kube_notify/app.py b/kube_notify/app.py index 7e63bb6..ce50137 100644 --- a/kube_notify/app.py +++ b/kube_notify/app.py @@ -167,7 +167,7 @@ def main(): # Initialize Kubernetes client ioloop = asyncio.get_event_loop() if args.inCluster: - ioloop.run_until_complete(kubernetes_asyncio.config.load_incluster_config()) + kubernetes_asyncio.config.load_incluster_config() else: ioloop.run_until_complete( kubernetes_asyncio.config.load_kube_config(context=args.context)