mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
Merge pull request #1509 from kernelkit/fix-flaky-container-tests
Fix operational get-data crash on containers with shell chars
This commit is contained in:
@@ -234,10 +234,6 @@ def container(ps):
|
||||
if path:
|
||||
out["cmdline"] = " ".join([path] + args)
|
||||
|
||||
cmd = inspect.get("Config", {}).get("Cmd", [])
|
||||
if cmd:
|
||||
out["command"] = " ".join(cmd)
|
||||
|
||||
net = network(ps, inspect)
|
||||
if net:
|
||||
out["network"] = net
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"running": true,
|
||||
"status": "Up About a minute",
|
||||
"cmdline": "/usr/bin/tini -- /usr/sbin/httpd -f -v",
|
||||
"command": "/usr/sbin/httpd -f -v",
|
||||
"network": {
|
||||
"interface": [
|
||||
{
|
||||
@@ -30,7 +29,6 @@
|
||||
"running": true,
|
||||
"status": "Up About a minute",
|
||||
"cmdline": "/usr/bin/tini -- /usr/sbin/httpd -f -v -p 91",
|
||||
"command": "/usr/sbin/httpd -f -v -p 91",
|
||||
"network": {
|
||||
"interface": [
|
||||
{
|
||||
@@ -53,7 +51,6 @@
|
||||
"running": true,
|
||||
"status": "Up About a minute",
|
||||
"cmdline": "/usr/bin/tini -- /usr/sbin/nft-helper /etc/nftables.conf",
|
||||
"command": "/usr/sbin/nft-helper /etc/nftables.conf",
|
||||
"network": {
|
||||
"host": true
|
||||
}
|
||||
|
||||
@@ -1188,7 +1188,6 @@
|
||||
"container": [
|
||||
{
|
||||
"cmdline": "/usr/bin/tini -- /usr/sbin/httpd -f -v",
|
||||
"command": "/usr/sbin/httpd -f -v",
|
||||
"id": "78d28082c2e5d494c82aa181c95118ce498e25930ad9e288ba010257ca336378",
|
||||
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
@@ -1209,7 +1208,6 @@
|
||||
},
|
||||
{
|
||||
"cmdline": "/usr/bin/tini -- /usr/sbin/httpd -f -v -p 91",
|
||||
"command": "/usr/sbin/httpd -f -v -p 91",
|
||||
"id": "3451cfceca4eee1091c1dfedece2faee99bc8a729e781799d9c0b4368a31d86d",
|
||||
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
@@ -1232,7 +1230,6 @@
|
||||
},
|
||||
{
|
||||
"cmdline": "/usr/bin/tini -- /usr/sbin/nft-helper /etc/nftables.conf",
|
||||
"command": "/usr/sbin/nft-helper /etc/nftables.conf",
|
||||
"id": "4e7c3daeba15546e7640014b9ee46e389737ed36583e5cb2f8b75a07a82e8523",
|
||||
"image": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
|
||||
"image-id": "7a3cc502436250357a6664100a600f306334b4d7203890b85b7ea9b8da6b5665",
|
||||
|
||||
Reference in New Issue
Block a user