diff --git a/ceph_osd_analyzer.py b/ceph_osd_analyzer.py index 0cb752b..498669d 100644 --- a/ceph_osd_analyzer.py +++ b/ceph_osd_analyzer.py @@ -37,7 +37,7 @@ def run_command(cmd, parse_json=False, host=None): if DEBUG: print(f"{Colors.CYAN}DEBUG: Running: {cmd}{Colors.END}") - result = subprocess.run(cmd, shell=True, capture_output=True, text=True, check=True) + result = subprocess.run(cmd, shell=True, capture_output=True, text=True, check=True) # nosec B602 — admin-only CLI tool; cmd is ceph/ssh commands built internally if parse_json: return json.loads(result.stdout) return result.stdout.strip()