And yet another if.

This commit is contained in:
Satnam Singh 2014-09-24 10:26:53 -07:00
parent f3c92c381a
commit 1a9d2298dc

View File

@ -280,7 +280,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: