Adding logs in deployment for debugging

This commit is contained in:
Janet Kuo
2016-05-31 15:59:46 -07:00
parent 294e49f8b9
commit 310a7d2eb5
2 changed files with 10 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ func (exp *ControlleeExpectations) isExpired() bool {
// SetExpectations registers new expectations for the given controller. Forgets existing expectations.
func (r *ControllerExpectations) SetExpectations(controllerKey string, add, del int) error {
exp := &ControlleeExpectations{add: int64(add), del: int64(del), key: controllerKey, timestamp: util.RealClock{}.Now()}
glog.V(4).Infof("Setting expectations %+v", exp)
glog.V(4).Infof("Setting expectations %#v", exp)
return r.Add(exp)
}