Added 'ContainerDestroyed()' callback from docker client

This commit is contained in:
Bryan Boreham committed 2016-01-12 14:38:44 +00:00
1 parent 2f885a7906
commit b2b293a8ee
5 files changed
+22 -7

No files matched your search

+2 -1
View File
@@ -121,7 +121,8 @@ func (n *Nameserver) ReverseLookup(ip address.Address) (string, error) {
return match.Hostname, nil
}
func (n *Nameserver) ContainerStarted(ident string) {}
func (n *Nameserver) ContainerStarted(ident string) {}
func (n *Nameserver) ContainerDestroyed(ident string) {}
func (n *Nameserver) ContainerDied(ident string) {
n.Lock()