We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f9da4 commit 82ec8f4Copy full SHA for 82ec8f4
show/main.py
@@ -89,7 +89,7 @@
89
# bash oneliner. To be revisited once routing-stack info is tracked somewhere.
90
def get_routing_stack():
91
result = None
92
- command = "sudo docker ps | grep bgp | awk '{print$2}' | cut -d'-' -f3 | cut -d':' -f1 | head -n 1"
+ command = "sudo docker ps | grep bgp | grep -E 'quagga|frr' | awk '{print$2}' | cut -d'-' -f3 | cut -d':' -f1 | head -n 1"
93
94
try:
95
stdout = subprocess.check_output(command, shell=True, text=True, timeout=COMMAND_TIMEOUT)
0 commit comments