And yet another if.

This commit is contained in:
Satnam Singh 2014-09-24 10:26:53 -07:00
parent 9ccf15fcf9
commit b77bc54f5d

View File

@ -278,7 +278,8 @@ func (self *rawContainerHandler) processEvent(event *inotify.Event, events chan
delete(self.watches, containerName)
// Container was deleted, stop watching for it.
if err := self.watcher.RemoveWatch(event.Name); err != nil {
err := self.watcher.RemoveWatch(event.Name)
if err != nil {
return err
}
default: