From da20b4493a074ef7f94450860dba12bfc678b3ea Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 5 Jun 2020 15:50:43 -0400 Subject: [PATCH] Properly return the function --- client-cli/pvc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client-cli/pvc.py b/client-cli/pvc.py index 45f8b9dc..42b3141e 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -336,6 +336,7 @@ def cluster_req(function): if config.get('badcfg', None): click.echo('No cluster specified and no local pvcapid.yaml configuration found. Use "pvc cluster" to add a cluster API to connect to.') exit(1) + return function(*args, **kwargs) return validate_cluster