Remove noisy non-error lines from logs

This commit is contained in:
Tim Hockin
2014-06-23 17:58:21 -07:00
parent c5c6084325
commit 228156dbc6
2 changed files with 7 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ func (f *FakeEtcdClient) Get(key string, sort, recursive bool) (*etcd.Response,
result := f.Data[key]
if result.R == nil {
f.t.Errorf("Unexpected get for %s", key)
return &etcd.Response{}, &etcd.EtcdError{ErrorCode: 100}
return &etcd.Response{}, &etcd.EtcdError{ErrorCode: 100} // Key not found
}
return result.R, result.E
}