[release] v0.12.0-unstable51
This commit is contained in:
parent
0faa1133fc
commit
253f95c186
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.12.0-unstable50",
|
"version": "0.12.0-unstable51",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -4,6 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/azukaar/cosmos-server/src/utils"
|
"github.com/azukaar/cosmos-server/src/utils"
|
||||||
|
|
||||||
|
@ -60,7 +61,7 @@ func DockerListenEvents() error {
|
||||||
onNetworkConnect(msg.Actor.ID)
|
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"
|
level := "info"
|
||||||
if msg.Type == "image" {
|
if msg.Type == "image" {
|
||||||
level = "debug"
|
level = "debug"
|
||||||
|
|
Loading…
Reference in a new issue