Commit 8f756b16 authored by Jakub Sztandera's avatar Jakub Sztandera Committed by GitHub

Merge pull request #37 from rikonor/master

Print formatted string using Errorf
parents 85cba2da de2bf99c
......@@ -118,7 +118,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