Don't test in Go 1.4

This commit is contained in:
Vladimir Mihailenco 2017-12-28 17:00:22 +02:00
parent 3de5605ab2
commit e5040d9ce7
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,6 @@ services:
- redis-server - redis-server
go: go:
- 1.4.x
- 1.7.x - 1.7.x
- 1.8.x - 1.8.x
- 1.9.x - 1.9.x
@ -13,7 +12,6 @@ go:
matrix: matrix:
allow_failures: allow_failures:
- go: 1.4.x
- go: tip - go: tip
install: install:

View File

@ -298,6 +298,9 @@ func (c *Ring) cmdInfo(name string) *CommandInfo {
if err != nil { if err != nil {
return nil return nil
} }
if c.cmdsInfo == nil {
return nil
}
info := c.cmdsInfo[name] info := c.cmdsInfo[name]
if info == nil { if info == nil {
internal.Logf("info for cmd=%s not found", name) internal.Logf("info for cmd=%s not found", name)