Skip to content

Commit 9d77aaa

Browse files
authored
Update container_monitor.py
1 parent eb72491 commit 9d77aaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

container_monitor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/awk BEGIN{a=ARGV[1];sub(/[a-z_.]+$/,".venv/bin/python",a);system(a"\t"ARGV[1])}
12
# -*- coding: utf-8 -*-
23
from kubernetes import config, client
34
from kubernetes.client import Configuration
@@ -296,4 +297,4 @@ def generate_DataFrame():
296297
cpu bool : {cpu_bool}
297298
gpu : {gpu_usage}
298299
gpu bool : {gpu_bool}
299-
""")
300+
""")

0 commit comments

Comments
 (0)