From b2c9c589aa8b9efe238a4ce758f117d79411d31b Mon Sep 17 00:00:00 2001 From: Mudit Agarwal Date: Tue, 28 Jul 2020 19:44:04 +0530 Subject: [PATCH] util: fix tracevol.py to use namespace argument tracevol.py accepts namespace argument but doesn't use it currently, fixing the same. Signed-off-by: Mudit Agarwal --- troubleshooting/tools/tracevol.py | 1 + 1 file changed, 1 insertion(+) diff --git a/troubleshooting/tools/tracevol.py b/troubleshooting/tools/tracevol.py index 413927c65..ab94073ae 100755 --- a/troubleshooting/tools/tracevol.py +++ b/troubleshooting/tools/tracevol.py @@ -86,6 +86,7 @@ def list_pvc_vol_name_mapping(arg): cmd += ["--config", arg.kubeconfig] else: cmd += ["--kubeconfig", arg.kubeconfig] + cmd += ["--namespace", arg.namespace] if arg.pvcname != "": cmd += ['get', 'pvc', arg.pvcname, '-o', 'json'] # list all pvc and get mapping