[release] v0.12.0-unstable51

This commit is contained in:
Yann Stepienik 2023-11-07 22:21:16 +00:00
parent 0faa1133fc
commit 253f95c186
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.12.0-unstable50",
"version": "0.12.0-unstable51",
"description": "",
"main": "test-server.js",
"bugs": {

View file

@ -4,6 +4,7 @@ import (
"context"
"sync"
"time"
"strings"
"github.com/azukaar/cosmos-server/src/utils"
@ -60,7 +61,7 @@ func DockerListenEvents() error {
onNetworkConnect(msg.Actor.ID)
}
if msg.Action != "exec_create" && msg.Action != "exec_start" && msg.Action != "exec_die" {
if !strings.HasPrefix(msg.Action, "exec_") {
level := "info"
if msg.Type == "image" {
level = "debug"