suppress kubectl warnings

This commit is contained in:
Digital Studium 2024-05-10 06:36:08 +03:00
parent 44280a8d07
commit 51dfbab1ea
1 changed files with 1 additions and 1 deletions

2
kls
View File

@ -210,7 +210,7 @@ def catch_input(menu: Menu):
def kubectl(command: str) -> list:
return subprocess.check_output(f"kubectl {command}", shell=True).decode().strip().split("\n")
return subprocess.check_output(f"kubectl {command} 2> /dev/null", shell=True).decode().strip().split("\n")
def enable_mouse_support():