Update main.go
This commit is contained in:
@@ -21,7 +21,7 @@ func main() {
|
|||||||
})
|
})
|
||||||
s, err := inventory.NewRedisInventoryService(rdb, ctx)
|
s, err := inventory.NewRedisInventoryService(rdb, ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Unable to connect to inventory redis", err)
|
log.Fatalf("Unable to connect to inventory redis: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
rdb.Pipelined(ctx, func(p redis.Pipeliner) error {
|
rdb.Pipelined(ctx, func(p redis.Pipeliner) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user