修改日志打印方式为直接写入systemd

This commit is contained in:
linxin
2023-04-12 16:13:21 +08:00
parent 9f3acfb7c6
commit b4aa808083
4 changed files with 19 additions and 25 deletions

View File

@@ -196,7 +196,7 @@ func TestGetImageId(t *testing.T) {
name: "get image id successfully",
input: input{
container_id: "invalid",
sock_path: "/run/containerd/containerd.sock",
sock_path: "/run/k3s/containerd/containerd.sock",
},
want: "",
wantErr: true,