fix loop lint

This commit is contained in:
Matt Jaffee 2019-10-22 12:58:56 -05:00
parent 63116e4a83
commit b67999215c
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -640,7 +640,7 @@ func TestClusterResize_RemoveNode(t *testing.T) {
func TestClusterMutualTLS(t *testing.T) {
commandOpts := make([][]server.CommandOption, 3)
configs := make([]*server.Config, 3)
for i, _ := range configs {
for i := range configs {
conf := server.NewConfig()
configs[i] = conf
conf.Bind = "https://localhost:0"