Skip to content

Commit 00332b2

Browse files
committed
linter fixes
1 parent 3ed0256 commit 00332b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentinel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ func (c *sentinelFailover) MasterAddr(ctx context.Context) (string, error) {
848848

849849
// track all created sentinel clients for cleanup
850850
sentinelClients := make([]*SentinelClient, len(c.sentinelAddrs))
851-
var selectedIdx int = -1
851+
var selectedIdx = -1
852852
defer func() {
853853
// Close all unused sentinel clients
854854
for i, cli := range sentinelClients {

0 commit comments

Comments
 (0)