Make a standalone binary.

This commit is contained in:
Brendan Burns
2014-10-27 10:04:39 -07:00
parent bdc4ab62c7
commit 2c1221864d
7 changed files with 300 additions and 1 deletions

View File

@@ -126,7 +126,9 @@ func (rm *ReplicationManager) watchControllers(resourceVersion *string) {
// Sync even if this is a deletion event, to ensure that we leave
// it in the desired state.
glog.V(4).Infof("About to sync from watch: %v", rc.Name)
rm.syncHandler(*rc)
if err := rm.syncHandler(*rc); err != nil {
glog.Errorf("unexpected sync. error: %v", err)
}
}
}
}