Commit e3d805a7 authored by Or Rikon's avatar Or Rikon

Print formatted string using Errorf

parent b1cc140e
......@@ -124,7 +124,7 @@ func (fs *Datastore) Put(key datastore.Key, value interface{}) error {
return err
}
log.Error("too many open files, retrying in %dms", 100*i)
log.Errorf("too many open files, retrying in %dms", 100*i)
time.Sleep(time.Millisecond * 100 * time.Duration(i))
}
return err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment