Update formatting directive logic to unbreak tests

This commit is contained in:
Harald Nordgren
2018-11-20 17:24:41 +08:00
committed by Ta-Ching Chen
parent 4a8c200c37
commit b456dec138
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func NewClient() redis.Conn {
c, err := redis.Dial("tcp", redisUrl)
if err != nil {
log.Error("Could not connect to Redis: %v\n", err)
log.Errorf("Could not connect to Redis: %v\n", err)
return nil
}
return c