Commit 04222b69 authored by barnett's avatar barnett
Browse files

[FIX] fix issues #331

Showing with 2 additions and 1 deletion
+2 -1
...@@ -227,7 +227,8 @@ func (c *ContainerLogManage) listAndWatchContainer(errchan chan error) { ...@@ -227,7 +227,8 @@ func (c *ContainerLogManage) listAndWatchContainer(errchan chan error) {
if !strings.Contains(err.Error(), "No such container") { if !strings.Contains(err.Error(), "No such container") {
logrus.Errorf("get container detail info failure %s", err.Error()) logrus.Errorf("get container detail info failure %s", err.Error())
} }
container.ID = con.ID // The log path cannot be obtained if the container details cannot be obtained
continue
} }
c.cacheContainer(ContainerEvent{Action: "start", Container: container}) c.cacheContainer(ContainerEvent{Action: "start", Container: container})
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment