Skip to content

Commit 3f1d95a

Browse files
author
Matthew Fisher
committed
Merge pull request #2053 from bacongobbler/publisher-hotfix
fix(publisher): skip when failed to retrieve container
2 parents 03b087e + b20d2c8 commit 3f1d95a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

publisher/publisher.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ func listenContainers(client *docker.Client, etcdClient *etcd.Client, ttl time.D
6060
if event.Status == "start" {
6161
container, err := getContainer(client, event.ID)
6262
if err != nil {
63-
log.Fatal(err)
63+
log.Println(err)
64+
continue
6465
}
6566
publishContainer(etcdClient, container, ttl)
6667
}

0 commit comments

Comments
 (0)